ExcludeRange Method of the IFWXIpFilter Interface

The ExcludeRange method excludes a range of IP addresses from the IP filter.

Syntax

HRESULT ExcludeRange(
  [in]  IN_ADDR IP_From,
  [in]  IN_ADDR IP_To
);

Parameters

IP_From

Lower end of IP range to exclude.

IP_To

Upper end of IP range to exclude.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXIpFilter


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.