INetSharingPrivateConnectionCollection interface (netcon.h)

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The INetSharingPrivateConnectionCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate private connections.


The INetSharingPrivateConnectionCollection interface inherits from the IDispatch interface. INetSharingPrivateConnectionCollection also has these types of members:


The INetSharingPrivateConnectionCollection interface has these methods.


The get__NewEnum method retrieves an enumerator for the private connections collection.

The get__Count method retrieves the number of items in the private connections collection.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netcon.h

See also

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference