Share via


AntivirusSettings Property of the IFPCSmtpProtectionConfiguration Interface

The AntivirusSettings property gets an FPCMailAntivirusSettings object that holds the antivirus settings for e-mail messages.

C++

HRESULT get_AntivirusSettings(
    IFPCMailAntivirusSettings** ppAntivirusSettings
);

Parameters

  • ppAntivirusSettings
    Address of an interface pointer that on return points to an IFPCMailAntivirusSettings interface that represents the antivirus settings for e-mail messages.

Return Value

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

Visual Basic

Property AntivirusSettings As FPCMailAntivirusSettings

Property Value

Reference to an FPCMailAntivirusSettings object that holds the antivirus settings for e-mail messages.

Remarks

This property is read-only. The antivirus settings for e-mail messages can be modified through the properties of the FPCMailAntivirusSettings object retrieved (the IFPCMailAntivirusSettings interface retrieved in C++).

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCSmtpProtectionConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010