IFPCMailAntivirusSettings::Action property
Applies to: desktop apps only
The Action property gets or sets a value from the FpcMailAntivirusAction enumerated type that indicates the action to be taken when a virus is detected.
This property is read/write.
Syntax
HRESULT put_Action(
FpcMailAntivirusAction Action
);
HRESULT get_Action(
FpcMailAntivirusAction *pAction
);
' Data type: FpcMailAntivirusAction
Property Action( _
ByVal Action As FpcMailAntivirusAction, _
ByVal pAction As FpcMailAntivirusAction _
) As FpcMailAntivirusAction
Property value
Value from the FpcMailAntivirusAction enumerated type that indicates the action to be taken when a virus is detected.
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 fpcMailAntivirusAction_Clean, which indicates that an attempt will be made to clean the file attachment or message body in which the virus was detected. If the attempt is successful, the infected attachment or message body is replaced with the clean version. If cleaning is not possible, the attachment or message body is replaced with the deletion text.
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
Build date: 7/12/2010