INetworkConnection::GetNetwork method (netlistmgr.h)

The GetNetwork method returns the network associated with the connection.

Syntax

HRESULT GetNetwork(
  [out] INetwork **ppNetwork
);

Parameters

[out] ppNetwork

Pointer to a pointer that receives an INetwork interface instance that specifies the network associated with the connection.

Return value

Returns S_OK if the method succeeds.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netlistmgr.h

See also

INetworkConnection