TunnelPortRanges Property of IFPCWebProxy[C++] | FPCWebProxy.TunnelPortRanges [Visual Basic]
The TunnelPortRanges property gets an FPCTunnelPortRanges collection.
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 Values
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 IFPCTunnelPortRanges interface retrieved, 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.
The TunnelPortRanges property gets an FPCTunnelPortRanges collection.
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, 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 XP. |
|---|---|
| Server | Requires Windows Server 2003. Requires Windows Server 2003 or Windows 2000 for ISA Server 2004 Standard Edition. |
| Version | Requires Internet Security and Acceleration (ISA) Server 2006 or ISA Server 2004. |
| IDL | Declared in Msfpccom.idl. |
| DLL | Requires Msfpccom.dll. |