AggregationDimensionCollection.Insert 메서드

정의

오버로드

Insert(Int32, AggregationDimension)

지정된 AggregationDimension을 컬렉션에서 지정된 인덱스에 삽입합니다.

Insert(Int32, String)

지정한 CubeDimensionID를 사용하여 AggregationDimension 개체를 새로 만들고, 컬렉션에서 지정한 인덱스에 삽입하고, 새로 만든 AggregationDimension을 반환합니다.

Insert(Int32, AggregationDimension)

지정된 AggregationDimension을 컬렉션에서 지정된 인덱스에 삽입합니다.

public void Insert (int index, Microsoft.AnalysisServices.AggregationDimension item);
override this.Insert : int * Microsoft.AnalysisServices.AggregationDimension -> unit
Public Sub Insert (index As Integer, item As AggregationDimension)

매개 변수

index
Int32

AggregationDimension를 삽입할 인덱스(0부터 시작)입니다.

item
AggregationDimension

삽입할 AggregationDimension입니다.

예외

지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).

  • 지정된 항목은 null 참조(Visual Basic의 경우 Nothing)입니다.
  • 지정된 항목이 이미 컬렉션에 있습니다.
  • 지정한 AggregationDimension 의 CubeDimensionID가 컬렉션에서 유효하지 않습니다.
  • 지정된 AggregationDimension 의 호환성 수준이 컬렉션에서 유효하지 않습니다.

적용 대상

Insert(Int32, String)

지정한 CubeDimensionID를 사용하여 AggregationDimension 개체를 새로 만들고, 컬렉션에서 지정한 인덱스에 삽입하고, 새로 만든 AggregationDimension을 반환합니다.

public Microsoft.AnalysisServices.AggregationDimension Insert (int index, string cubeDimensionId);
override this.Insert : int * string -> Microsoft.AnalysisServices.AggregationDimension
Public Function Insert (index As Integer, cubeDimensionId As String) As AggregationDimension

매개 변수

index
Int32

AggregationDimension를 삽입할 인덱스(0부터 시작)입니다.

cubeDimensionId
String

AggregationDimension 개체에 대한 CubeDimensionID입니다.

반환

새로 만든 AggregationDimension 개체입니다.

예외

지정된 인덱스는 유효한 값이 아닙니다(0보다 작거나 총 요소 수보다 큼).

지정된 CubeDimensionID가 컬렉션에서 유효하지 않습니다.

적용 대상