INetworkConnection::get_IsConnected method (netlistmgr.h)
The get_IsConnected property specifies if the associated network connection has network connectivity.
Syntax
HRESULT get_IsConnected(
[out] VARIANT_BOOL *pbIsConnected
);
Parameters
[out] pbIsConnected
If TRUE, this network connection has connectivity; if FALSE, it does not.
Return value
Returns S_OK if successful.
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 |