ITcSysManager::ActivateConfiguration
The ActivateConfiguration() method generates the variable mappings and activates the current configuration on the configured target system. This corresponds to the “Activate Configuration” command in the Visual Studio interface.
Signature
HRESULT ActivateConfiguration();
Parameter
(none)
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_ACCESSDENIED: System Manager is disabled. -
E_UNEXPECTED: No configuration document has been loaded.
See also
- StartRestartTwinCAT