Метод ReportParameterCollection.Add (String, String)
Creates and adds a ReportParameter, with the specified name and value, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
name As String, _
value As String _
) As ReportParameter
'Применение
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
Параметры
- name
Тип: System.String
The name of the ReportParameter to add.
- value
Тип: System.String
The value of the ReportParameter to add.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.ReportParameter
The ReportParameter that was added to the collection.