Action Property of the IFPCMailAntivirusSettings Interface

The Action property gets or sets a value from the FpcMailAntivirusAction enumerated type that indicates which action to take when a malware is found.

[C++]
HRESULT put_Action(
	FpcMailAntivirusAction Action
);
HRESULT get_Action(
	FpcMailAntivirusAction* pAction
);

Parameters

pAction

Pointer to a variable that on return receives a value from the FpcMailAntivirusAction enumerated type specifying which action to take when a malware is found.

Action

Value from the FpcMailAntivirusAction enumerated type that indicates which action to take when a malware is found.

Return Value

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

[Visual Basic]
Property Action As FpcMailAntivirusAction

Property Value

Value from the FpcMailAntivirusAction enumerated type that indicates which action to take when a malware is found.

Remarks

This property is read/write.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCMailAntivirusSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.