The IsRangeIntersect method determines whether the specified IP address range intersects any of the IP address ranges in the collection.
HRESULT IsRangeIntersect( [in] BSTR IpFrom, [in] BSTR IpTo, [out] VARIANT_BOOL* pfIsIpInSet );
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the specified IP address range intersects any of the IP address ranges in the collection, or to VARIANT_FALSE if the specified IP address range does not intersect any of the IP address ranges in the collection.
Function IsRangeIntersect( _ ByVal IpFrom As String, _ ByVal IpTo As String _ ) As Boolean
This method returns a Boolean value that is set to True if the specified IP address range intersects any of the IP address ranges in the collection, or to False if the specified IP address range does not intersect any of the IP address ranges in the collection. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.