IFPCEEReportJob2::AddParameterInstance method

Applies to: desktop apps only

The AddParameterInstance method adds an instance of an Report Definition Language (RDL) report parameter to the report job.

Syntax

HRESULT AddParameterInstance(
  [in]  BSTR bstrName,
  [in]  String bstrName,
  [in]  BSTR bstrCategoryName,
  [in]  String bstrCategoryName,
  [in]  BSTR bstrRdlName,
  [in]  String bstrRdlName,
  [in]  BSTR bstrParameterName,
  [in]  String bstrParameterName,
  [in]  BSTR bstrParameterValue,
  [in]  String bstrParameterValue
);
FPCReportJob.AddParameterInstance( _
  ByVal bstrName As BSTR, _
  ByVal bstrName As String, _
  ByVal bstrCategoryName As BSTR, _
  ByVal bstrCategoryName As String, _
  ByVal bstrRdlName As BSTR, _
  ByVal bstrRdlName As String, _
  ByVal bstrParameterName As BSTR, _
  ByVal bstrParameterName As String, _
  ByVal bstrParameterValue As BSTR, _
  ByVal bstrParameterValue As String _
)

Parameters

  • bstrName [in]

    C++

    Required. BSTR that specifies the name of the new instance of the RDL report parameter.

    VB

    Required. BSTR that specifies the name of the new instance of the RDL report parameter.

  • bstrCategoryName [in]

    C++

    Required. BSTR that specifies the name of the RDL report category to be referenced by the new instance of the RDL report parameter.

    VB

    Required. String that specifies the name of the RDL report category to be referenced by the new instance of the RDL report parameter.

  • bstrRdlName [in]

    C++

    Required. BSTR that specifies the name of the RDL report definition to be referenced by the new instance of the RDL report parameter.

    VB

    Required. String that specifies the name of the RDL report definition to be referenced by the new instance of the RDL report parameter.

  • bstrParameterName [in]

    C++

    Required. BSTR that specifies the name of the RDL report parameter to be referenced by the new instance of the RDL report parameter.

    VB

    Required. String that specifies the name of the RDL report parameter to be referenced by the new instance of the RDL report parameter.

  • bstrParameterValue [in]

    C++

    Required. BSTR that specifies the value of the new instance of the RDL report parameter.

    VB

    Required. String that specifies the value of the new instance of the RDL report parameter.

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