다음을 통해 공유


Add 메서드 (String)

Creates and adds an AggregationInstanceMeasure, which is specified by measureId, to the end of the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Function Add ( _
    measureId As String _
) As AggregationInstanceMeasure
‘사용 방법
Dim instance As AggregationInstanceMeasureCollection
Dim measureId As String
Dim returnValue As AggregationInstanceMeasure

returnValue = instance.Add(measureId)
public AggregationInstanceMeasure Add(
    string measureId
)
public:
AggregationInstanceMeasure^ Add(
    String^ measureId
)
member Add : 
        measureId:string -> AggregationInstanceMeasure 
public function Add(
    measureId : String
) : AggregationInstanceMeasure

매개 변수

반환 값

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

예외

예외 조건
ArgumentNullException

measureId is a null reference (Nothing in Visual Basic).