INetSharingPortMappingCollection interface (netcon.h)

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

The INetSharingPortMappingCollection interface makes it possible for scripting languages such as VBScript and JScript to enumerate port mappings.

Inheritance

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

Methods

The INetSharingPortMappingCollection interface has these methods.

 
INetSharingPortMappingCollection::get__NewEnum

The get__NewEnum method retrieves an enumerator for the port mapping collection.
INetSharingPortMappingCollection::get_Count

The get__Count method retrieves the number of items in the port mapping collection.

Requirements

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

See also

IEnumNetSharingPortMapping

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference