IFWXConnection::GetIpFilter method

Applies to: desktop apps only

The GetIpFilter method gets a copy of the IP filter object for the connection. Returns NULL if the connection is not limited to a range of IP addresses.

Syntax


HRESULT GetIpFilter(
  [out]  IFWXIpFilter **ppIpFilter
);

Parameters

ppIpFilter [out]

Address of a variable that receives a pointer to the IFWXIpFilter interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Because the returned object is a copy, modifying the object does not affect the connection.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXConnection
IFWXIpFilter

 

 

Build date: 7/12/2010

Show: