IFPCMailAntispamFilterList::Action property
Applies to: desktop apps only
The Action property gets or sets a value from the FpcMailAntiSpamFilterAction enumerated type that specifies the action to be taken when a matching message is detected.
This property is read/write.
Syntax
HRESULT put_Action(
FpcMailAntiSpamFilterAction Action
);
HRESULT get_Action(
FpcMailAntiSpamFilterAction *pAction
);
' Data type: FpcMailAntiSpamFilterAction
Property Action( _
ByVal Action As FpcMailAntiSpamFilterAction, _
ByVal pAction As FpcMailAntiSpamFilterAction _
) As FpcMailAntiSpamFilterAction
Property value
Value from the FpcMailAntiSpamFilterAction enumerated type that specifies the action to be taken when a matching message 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 fpcMailAntiSpamFilterAction_Purge, which indicates that the message will deleted from the mail system. If quarantining is not enabled, the message would then be unrecoverable.
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