AdsConnection.WriteControl Method (StateInfo, Int32)
Changes the ADS status and the device status of an ADS server.
          Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public void WriteControl(
StateInfo stateInfo,
int timeout
)
VB
Public Sub WriteControl (
stateInfo As StateInfo,
timeout As Integer
)
Parameters
| 
                   stateInfo  | 
                   Type: TwinCAT.Ads.StateInfo  | 
| 
                   timeout  | 
                   Type: System.Int32  | 
Exceptions
| 
                   Exception  | 
                   Condition  | 
|---|---|