Applies to: desktop apps only
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.
HRESULT SetIpFilter( [in] IFWXIpFilter *pIpFilter );
- pIpFilter [in]
Pointer to the IFWXIpFilter interface. Setting this parameter equal to NULL will result in no IP address restrictions for this connection.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method should not be used for emulated connections.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010