Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCReportJob::SetAsRunOnceReportJob[C++]

FPCReportJob.SetAsRunOnceReportJob [Visual Basic]

[C++]

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

HRESULT SetAsRunOnceReportJob(
  DATE PeriodStart,
  DATE dPeriodEnd
);

Parameters

PeriodStart
[in] Date value indicating the beginning of the period covered by the report job.
dPeriodEnd
[in] Date value indicating the end of the period covered by the report job.

Return Values

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

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

Sub SetAsRunOnceReportJob( _
  ByVal PeriodStart As Date, _
  ByVal dPeriodEnd As Date _
)

Parameters

PeriodStart
[in] Date value indicating the beginning of the period covered by the report job.
dPeriodEnd
[in] Date value indicating the end of the period covered by the report job.

Return Values

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCReportJob