TwclNlmConnection.GetNetwork(TwclNlmNetwork) Method
Gets the network associated with the connection.
public function GetNetwork(out Network: TwclNlmNetwork): Integer;
Parameters
- Network
- Type: TwclNlmNetwork
If the method succeeded on output contains the TwclNlmNetwork object that represents the network associated with the connection. An application is responsible to dispose the returned object.
Return Value
Type: Integer
If the function succeeded the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.