Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCReadOnlyIpRangeSet::IsIpInSet[C++]

FPCReadOnlyIpRangeSet.IsIpInSet [Visual Basic]

[C++]

The IsIpInSet method determines whether the specified IP address is included in an IP address range in the collection.

HRESULT IsIpInSet(
  BSTR IpStr,
  VARIANT_BOOL* pIsIpInSet
);

Parameters

IpStr
[in] Required. BSTR that specifies the IP address.
pIsIpInSet
[out] Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the IP address is included in an IP address range in the collection, or to VARIANT_FALSE if the specified IP address is not included in an IP address range in the collection.

Return Values

This method can return one of the following:

[Visual Basic]

The IsIpInSet method determines whether the specified IP address is included in an IP address range in the collection.

Function IsIpInSet( _
  ByVal IpStr As String _
) As Boolean

Parameters

IpStr
[in] Required. String that specifies the IP address.

Return Values

This method returns a Boolean value that indicates whether the IP address is included in an IP address range in the collection if the call is successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

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.

See Also

FPCReadOnlyIpRangeSet