Session.Disconnect Method
Disconnects the session from the target.
          Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public bool Disconnect()
VB
Public Function Disconnect As Boolean
Return Value
Type: Boolean
true if XXXX, false otherwise.
Exceptions
| 
                   Exception  | 
                   Condition  | 
|---|---|
Remarks
Closes (and disposes) the underlying IConnection The Session itself will not be Disposed and can be reconnected.