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.