TunnelPortRanges Property of the IFPCWebProxy Interface
The TunnelPortRanges property gets an FPCTunnelPortRanges collection.
C++
HRESULT get_TunnelPortRanges(
IFPCTunnelPortRanges** ppTunnelPortRanges
);
Parameters
- 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.
Remarks
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.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010