Share via


IFPCEEReportJob2::CreateReport method

Applies to: desktop apps only

The CreateReport method generates the report defined in the report job.

Syntax

HRESULT CreateReport(
  [in]            BSTR bstrReportStorageFolder,
  [in]            String bstrReportStorageFolder,
  [in, optional]  BSTR bstrReportFormat,
  [in, optional]  String bstrReportFormat
);
FPCReportJob.CreateReport( _
  ByVal bstrReportStorageFolder As BSTR, _
  ByVal bstrReportStorageFolder As String, _
  [ ByVal bstrReportFormat As BSTR ], _
  [ ByVal bstrReportFormat As String ] _
)

Parameters

  • bstrReportStorageFolder [in]

    C++

    Required. BSTR that specifies the name of the report storage folder to create.

    VB

    Required. String that specifies the name of the report storage folder to create.

  • bstrReportFormat [in, optional]

    C++

    BSTR that specifies the format of the report to create.

    VB

    String that specifies the format of the report to create.

Return value

C++

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

VB

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