TunnelPortRanges Property of the IFPCWebProxy Interface

The TunnelPortRanges property gets an FPCTunnelPortRanges collection.

HRESULT get_TunnelPortRanges(
	IFPCTunnelPortRanges** ppTunnelPortRanges



Address of an interface pointer that on return points to an IFPCTunnelPortRanges interface that represents the collection of tunnel port ranges.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property TunnelPortRanges As FPCTunnelPortRanges

Property Value

Reference to an FPCTunnelPortRanges collection.


This property is read-only. A new tunnel port range can be added by calling the AddRange method of the FPCTunnelPortRanges collection retrieved (the IFPCTunnelPortRanges interface retrieved in C++), and a tunnel port range can be removed by calling its Remove method. After the collection of tunnel port ranges has been modified, the changes must be written to persistent storage by calling the Save method, and the Microsoft Firewall service must be restarted for the changes to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.