다음을 통해 공유


AggregationInstanceDimensionCollection.Add 메서드 (String)

Creates and adds an AggregationInstanceDimension, the specified by cubeDimensionId, to the end of the collection.

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

구문

‘선언
Public Function Add ( _
    cubeDimensionId As String _
) As AggregationInstanceDimension
‘사용 방법
Dim instance As AggregationInstanceDimensionCollection 
Dim cubeDimensionId As String 
Dim returnValue As AggregationInstanceDimension 

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

매개 변수

반환 값

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

예외

예외 조건
ArgumentNullException

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

참고 항목

참조

AggregationInstanceDimensionCollection 클래스

Add 오버로드

Microsoft.AnalysisServices 네임스페이스