Share via


SetIpFilter Method of the IFWXConnection Interface

The SetIpFilter method sets the IP filter for the connection. Either sets a new IP filter if there had not been one or replaces the current IP filter with a new one.

Syntax

HRESULT SetIpFilter(
  [in]  IFWXIpFilter* pIpFilter
);

Parameters

  • pIpFilter
    Pointer to the IFWXIpFilter interface. Setting this parameter equal to NULL will result in no IP address restrictions for this connection.

Remarks

This method should not be used for emulated connections.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXConnection
IFWXIpFilter

Send comments about this topic to Microsoft

Build date: 6/30/2010