Step.SwitchExecOperation
- Updated2025-04-09
- 1 minute(s) read
Step.SwitchExecOperation
Syntax
Step.SwitchExecOperation
Data Type
Use the following constants with this data type:
- SwitchExecOperation_Connect –(Value: 1) Creates the paths for the specified routes in the Step.SwitchExecRoutesToConnect property.
- SwitchExecOperation_ConnectDisconnect –(Value: 4) Creates the paths for the routes specified in the Step.SwitchExecRoutesToConnect property and destroys the paths for the routes specified in the Step.SwitchExecRoutesToDisconnect property. Use the Step.SwitchExecOperationOrder property to specify whether the Disconnect operation occurs before or after the Connect operation.
- SwitchExecOperation_Disconnect –(Value: 2) Destroys the paths the specified routes define in the Step.SwitchExecRoutesToDisconnect property.
- SwitchExecOperation_DisconnectAll –(Value: 3) Disconnects all previously created paths.
Purpose
Specifies whether to connect or disconnect the routes the Step.SwitchExecRoutesToConnect and Step.SwitchExecRoutesToDisconnect properties specify, or disconnect all previously connected routes for a virtual device.
See Also
Step.SwitchExecRoutesToConnect