Share via


IFPCWebProxy::TunnelPortRanges property

Applies to: desktop apps only

The TunnelPortRanges property gets an FPCTunnelPortRanges collection.

This property is read-only.

Syntax

HRESULT get_TunnelPortRanges(
  IFPCTunnelPortRanges **ppTunnelPortRanges
);
' Data type: FPCTunnelPortRanges

Property TunnelPortRanges( _
  ByVal ppTunnelPortRanges As IFPCTunnelPortRanges _
) As FPCTunnelPortRanges

Property value

Reference to an FPCTunnelPortRanges collection.

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebProxy

 

 

Build date: 7/12/2010