Microsoft Internet Security and Acceleration Server 2004 SDK |
The SetLimitSourcePortRange method sets the lower and upper limits of the range of source port numbers to which the rule applies.
HRESULT SetLimitSourcePortRange( long PortLow, long PortHi );
For access rules and server publishing rules, the lower and upper limits of the source port range can also be set when the rules are created in ISA Server Management. However, for Web Publishing rules, the limits of this range can be set only by using this method.
The SetLimitSourcePortRange method sets the lower and upper limits of the range of source port numbers to which the rule applies.
Sub SetLimitSourcePortRange( _ ByVal PortLow As Long, _ ByVal PortHi As Long _ )
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
For access rules and server publishing rules, the lower and upper limits of the source port range can also be set when the rules are created in ISA Server Management. However, for Web Publishing rules, the limits of this range can be set only by using this method.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.