Share via


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

매개 변수

반환 값

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

참고 항목

참조

ReportParameterCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스