TwclNetworkListManager.GetNetwork(TGUID,TwclNlmNetwork) Method
The method retrieves a network based on a supplied network ID.
public function GetNetwork(const NetworkId: TGUID; out Network: TwclNlmNetwork): Integer;
Parameters
- NetworkId
- Type: TGUID
GUID that specifies the network ID.
- Network
- Type: TwclNlmNetwork
If the method succeeded on output contains the TwclNlmNetwork object that represents the network. An application is responsible to dispose the returned object.
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.