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 path, where the config file should be saved. When bstrFile is an empty character string, the actual file name is used. |
Return Values
S_OK |
Function has returned a value. |
E_INVALIDARG |
The file path is invalid. |
Comments
Warning: 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.