IFPCWebFilter::FilterDirection property

Applies to: desktop apps only

The FilterDirection property gets a value from the FpcFilterDirection enumerated type that specifies whether the Web filter is invoked in the forward proxy scenario, in the reverse proxy scenario, or in both scenarios.

This property is read-only.

Syntax

HRESULT get_FilterDirection(
  FpcFilterDirection *pFilterDirection
);
' Data type: FpcFilterDirection

Property FilterDirection( _
  ByVal pFilterDirection As FpcFilterDirection _
) As FpcFilterDirection

Property value

Value from the FpcFilterDirection enumerated type that specifies whether the Web filter is invoked in the forward proxy scenario, in the reverse proxy scenario, or in both scenarios.

Error codes

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

Remarks

This property is read-only. It is set when the object is created by a call to the Add method of the FPCWebFilters collection.

For a Web filter to work on a Forefront TMG computer, its dynamic-link library (DLL) must be copied to the computer, an object representing it must be created in the FPCWebFilters collection for the computer's array, and it must be registered as an extension of the Forefront TMG Web proxy on the computer by including a reference to it in the computer's InstalledWebFilters property.

When an enterprise with central array management is deployed, Web filters can be added to the FPCWebFilters collections in the enterprise configuration and in array configurations. If the same Web filter is included in the FPCWebFilters collections in the enterprise configuration and an array configuration with different values for the FilterDirection property of the Web filter, the enterprise setting overrides the array setting. Conversely, the values of the RelativePath and Priority properties in the enterprise configuration are ignored.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

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

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebFilter

 

 

Build date: 7/12/2010