Automation Interface

ITcSysManager::ActivateConfiguration

The ActivateConfiguration() method activates the TwinCAT configuration (same as "Save To Registry"). A following start or restart of the TwinCAT system must be performed to activate the configuration physically.

HRESULT ActivateConfiguration();

Return Values

S_OK
function returns successfully.
E_FAIL
the function fails.