IFPCReportJob::SetAsRunOnceReportJob method

Applies to: desktop apps only

The SetAsRunOnceReportJob method sets the report job to run only once over a specified period.

Syntax

HRESULT SetAsRunOnceReportJob(
  [in]  DATE PeriodStart,
  [in]  DATE dPeriodEnd
);
FPCReportJob.SetAsRunOnceReportJob( _
  ByVal PeriodStart As Date, _
  ByVal dPeriodEnd As Date _
)

Parameters

  • PeriodStart [in]

    C++ Required. DATE value that specifies the date and time in Coordinated Universal Time (UTC) when the period covered by the report job starts.
    VB Required. Date value that specifies the date and time in Coordinated Universal Time (UTC) when the period covered by the report job starts.
  • dPeriodEnd [in]

    C++ Required. DATE value that specifies the date and time in Coordinated Universal Time (UTC) when the period covered by the report job ends.
    VB Required. Date value that specifies the date and time in Coordinated Universal Time (UTC) when the period covered by the report job ends.

Return value

C++

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

VB

This method has no return values. If the call is unsuccessful, 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

FPCReportJob

 

 

Build date: 7/12/2010