IFPCRdlReportParameterInstance::SetReportParameter method
Applies to: desktop apps only
The SetReportParameter method sets the names of the Report Definition Language (RDL) report parameter, the RDL report definition, and the RDL report category referenced by the instance.
Syntax
HRESULT SetReportParameter(
[in] BSTR CategoryName,
[in] String CategoryName,
[in] BSTR RdlName,
[in] String RdlName,
[in] BSTR ParameterName,
[in] String ParameterName
);
FPCRdlReportParameterInstance.SetReportParameter( _
ByVal CategoryName As BSTR, _
ByVal CategoryName As String, _
ByVal RdlName As BSTR, _
ByVal RdlName As String, _
ByVal ParameterName As BSTR, _
ByVal ParameterName As String _
)
Parameters
CategoryName [in]
C++ Required. BSTR that specifies the name of the RDL report category to be referenced by the instance.
VB Required. String that specifies the name of the RDL report category to be referenced by the instance.
RdlName [in]
C++ Required. BSTR that specifies the name of the RDL report definition to be referenced by the instance.
VB Required. String that specifies the name of the RDL report definition to be referenced by the instance.
ParameterName [in]
C++ Required. BSTR that specifies the name of the RDL report parameter to be referenced by the instance.
VB Required. String that specifies the name of the RDL report parameter to be referenced by the instance.
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 objects that are referenced in the RdlReportCategory, RdlReportDefinition, and RdlReportParameter properties of the combined reference.
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
Build date: 7/12/2010