INetwork::get_IsConnected method (netlistmgr.h)
The get_IsConnected property specifies if the network has any network connectivity.
Syntax
HRESULT get_IsConnected(
[out] VARIANT_BOOL *pbIsConnected
);
Parameters
[out] pbIsConnected
If TRUE, this network is connected; if FALSE, it is 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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for