TwclServerClientConnection.Disconnect Method

Disconnects from the connected remote device.

Namespace: wclConnections
public
 function Disconnect: Integer;

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The method disconnects from the connected remote device.

The method also frees the object. After calling this method an application must not use the object.