Partager via


Méthode ReportParameterCollection.Add (String, String)

Creates and adds a ReportParameter, with the specified name and value, to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    name As String, _
    value As String _
) As ReportParameter
'Utilisation
Dim instance As ReportParameterCollection 
Dim name As String 
Dim value As String 
Dim returnValue As ReportParameter 

returnValue = instance.Add(name, value)
public ReportParameter Add(
    string name,
    string value
)
public:
ReportParameter^ Add(
    String^ name, 
    String^ value
)
member Add : 
        name:string * 
        value:string -> ReportParameter
public function Add(
    name : String, 
    value : String
) : ReportParameter

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices.ReportParameter
The ReportParameter that was added to the collection.

Voir aussi

Référence

ReportParameterCollection Classe

Surcharge Add

Espace de noms Microsoft.AnalysisServices