Share via


IFPCSmtpProtectionStatus::GetAntivirusLastCheckTime method

Applies to: desktop apps only

The GetAntivirusLastCheckTime method gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the specified email antivirus engine was last checked for updates.

Syntax

HRESULT GetAntivirusLastCheckTime(
  [in]   FpcMailAntivirusEngine Engine,
  [in]   FpcMailAntivirusEngine Engine,
  [out]  DATE *pDate
);
FPCSmtpProtectionStatus.GetAntivirusLastCheckTime( _
  ByVal Engine As FpcMailAntivirusEngine, _
  ByVal Engine As FpcMailAntivirusEngine, _
  ByRef pDate As DATE _
) As Date

Parameters

  • Engine [in]

    C++

    Required. Value from the FpcMailAntivirusEngine enumerated type that specifies the type of antivirus engine.

    VB

    Required. Value from the FpcMailAntivirusEngine enumerated type that specifies the type of antivirus engine.

  • pDate [out]
    Pointer to a DATE value that is set on return to the value specifying the date and time in Coordinated Universal Time (UTC) when the specified email antivirus engine was last checked for updates.

Return value

C++

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

VB

This method returns a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the specified email antivirus engine was last checked for updates if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

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

FPCSmtpProtectionStatus

 

 

Build date: 7/12/2010