ITcSysManager::SaveConfiguration
The SaveConfiguration() method saves a TwinCAT configuration in a file with the specified name.
HRESULT SaveConfiguration(BSTRbstrFile);
Parameters
bstrFile | [in, defaultvalue(L"")] contains the file path in that the configuration file that should be saved. If bstrFile is an empty string, the current file name will be used. |
Return Values
S_OK | function returns successfully. |
E_INVALIDARG | the given file path is invalid. |
Comments
Note | |
The three methods ITcSysManager::NewConfiguration, ITcSysManager::OpenConfiguration and ITcsSysManager::SaveConfiguration are only available in Compatiblity Mode. Calling them in standard mode will throw an E_NOTSUPPORTED Exception. |