INetSharingPortMapping interface (netcon.h)
[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]
The INetSharingPortMapping interface provides methods for managing a particular port mapping.
The INetSharingPortMapping interface inherits from the IDispatch interface. INetSharingPortMapping also has these types of members:
The INetSharingPortMapping interface has these methods.
|INetSharingPortMapping::Delete||The Delete method deletes a port mapping from the list of port mappings for a particular connection.|
|INetSharingPortMapping::Disable||The Disable method disables a port mapping for a particular connection.|
|INetSharingPortMapping::Enable||The Enable method enables a port mapping for a particular connection.|
|INetSharingPortMapping::get_Properties||The get_Properties method retrieves the properties for a port mapping.|
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||None supported|