Disconnect Method
Syntax
CWDataSocket.Disconnect
Purpose
Disconnects the CWDataSocket from the data item to which it is currently connected.
Remarks
The CWDataSocket.Data.Value and attributes remain unchanged when CWDataSocket is disconnected.
Disconnect has no effect if CWDataSocket is not connected.
Example
CWDataSocket1.Disconnect