IFPCMailAntivirusSettings::SelectionPolicy property

Applies to: desktop apps only

The SelectionPolicy property gets or sets a value from the FpcMailAntivirusEngineSelectionPolicy enumerated type that indicates how antivirus engines are chosen from the selected engines for inspecting email messages.

This property is read/write.

Syntax

HRESULT put_SelectionPolicy(
  FpcMailAntivirusEngineSelectionPolicy SelectionPolicy
);

HRESULT get_SelectionPolicy(
  FpcMailAntivirusEngineSelectionPolicy *pSelectionPolicy
);
' Data type: FpcMailAntivirusEngineSelectionPolicy

Property SelectionPolicy( _
  ByVal SelectionPolicy As FpcMailAntivirusEngineSelectionPolicy, _
  ByVal pSelectionPolicy As FpcMailAntivirusEngineSelectionPolicy _
) As FpcMailAntivirusEngineSelectionPolicy

Property value

Value from the FpcMailAntivirusEngineSelectionPolicy enumerated type that indicates how antivirus engines are chosen from the selected engines for inspecting email messages.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is fpcMailAntivirusEngineSelectionPolicy_Available, which indicates that all of the selected engines that are available are used.

The selected antivirus engines are specified by the EngineSubset property.

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

FPCMailAntivirusSettings

 

 

Build date: 7/12/2010