Share via


IFPCRdlReportRef::SetReportRdl method

Applies to: desktop apps only

The SetReportRdl method sets the name of the Report Definition Language (RDL) report definition referenced by this object.

Syntax

HRESULT SetReportRdl(
  [in]  BSTR bstrRdlName,
  [in]  String bstrRdlName
);
FPCRdlReportRef.SetReportRdl( _
  ByVal bstrRdlName As BSTR, _
  ByVal bstrRdlName As String _
)

Parameters

  • bstrRdlName [in]

    C++

    Required. BSTR that specifies the name of the RDL report definition to be referenced by this object.

    VB

    Required. String that specifies the name of the RDL report definition to be referenced by this object.

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.

Remarks

This method sets the object that is referenced in the RdlReportDefinition property of this object.

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

FPCRdlReportRef

 

 

Build date: 7/12/2010