Microsoft Internet Security and Acceleration Server 2004 SDK |
The IsIpInSet method determines whether the specified IP address is included in any of the IP address ranges in the collection.
HRESULT IsIpInSet( BSTR IpStr, VARIANT_BOOL* pfIsIpInSet );
This method returns S_OK if the call is successful; otherwise, it returns an error code.
The IsIpInSet method determines whether the specified IP address is included in any of the IP address ranges in the collection.
Function IsIpInSet( _ ByVal IpStr As String _ ) As Boolean
This method returns a Boolean value that is set to True if the specified IP address is included in any IP address range in the collection, or to False if the specified IP address is not included in any IP address range in the collection. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
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.