GetAntivirusLastCheckTime Method of the IFPCSmtpProtectionStatus Interface
The GetAntivirusLastCheckTime method gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the specified e-mail antivirus engine was last checked for updates.
C++
Syntax
HRESULT GetAntivirusLastCheckTime(
[in] FpcMailAntivirusEngine Engine,
[out] DATE* pDate
);
Parameters
Engine
Required. Value from the FpcMailAntivirusEngine enumerated type that specifies the type of antivirus engine.pDate
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 e-mail antivirus engine was last checked for updates.
Return Value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Syntax
Function GetAntivirusLastCheckTime( _
ByVal Engine As FpcMailAntivirusEngine _
) As Date
Parameters
- Engine
Required. Value from the FpcMailAntivirusEngine enumerated type that specifies the type of antivirus engine.
Return Value
This method returns a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the specified e-mail antivirus engine was last checked for updates if successful. Otherwise, an error is raised that can be intercepted by using an error handler.
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
Send comments about this topic to Microsoft
Build date: 6/30/2010