Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCReportJobs::Add[C++]

FPCReportJobs.Add [Visual Basic]

[C++]

The Add method creates a new FPCReportJob object in the collection and returns a reference to it.

HRESULT Add(
  BSTR Name,
  BSTR ServerName,
  IFPCReportJob** ppNewReportJob
);

Parameters

Name
[in] Required. BSTR that specifies the name of the new report job.
ServerName
[in] Required. BSTR that specifies the name of the server where the report job will run.
ppNewReportJob
[out] Address of an interface pointer that on return points to the new IFPCReportJob interface created.

Return Values

This method can return one of the following:

[Visual Basic]

The Add method creates a new FPCReportJob object in the collection and returns a reference to it.

Function Add( _
  ByVal Name As String, _
  ByVal ServerName As String _
) As FPCReportJob

Parameters

Name
[in] Required. String that specifies the name of the new report job.
ServerName
[in] Required. String that specifies the name of the server where the report job will run.

Return Values

This method returns a reference to an FPCReportJob object if successful. Otherwise, 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

FPCReportJobs