GetParameters méthode

Returns an IDataParameterCollection object representing a list of parameters used in the query.

Espace de noms :  Microsoft.ReportingServices.DataProcessing
Assembly :  Microsoft.ReportingServices.Interfaces (dans Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
Function GetParameters As IDataParameterCollection
'Utilisation
Dim instance As IDbCommandAnalysis
Dim returnValue As IDataParameterCollection

returnValue = instance.GetParameters()
IDataParameterCollection GetParameters()
IDataParameterCollection^ GetParameters()
abstract GetParameters : unit -> IDataParameterCollection 
function GetParameters() : IDataParameterCollection

Valeur de retour

Type : Microsoft.ReportingServices.DataProcessing. . :: . .IDataParameterCollection
An IDataParameterCollection object representing a list of parameters used in the query.

Notes

This method is used by the Report Designer component to read the command text of the query in order to retrieve a list of parameters. You can use the GetParameters method to parse your own, custom command text in order to retrieve a list of parameters as part of your data processing extension implementation.

This method returns a IDataParameterCollection from the Data Processing extension for use in the Report Designer at design-time.