PerspectiveMeasureGroupCollection.Add 메서드

정의

오버로드

Add(PerspectiveMeasureGroup)

지정된 PerspectiveMeasureGroup을 컬렉션의 끝에 추가합니다.

Add(String)

지정된 MeasureGroupID를 사용하여 새 PerspectiveMeasureGroup 개체를 만들고, 컬렉션의 끝에 추가하고, 새로 만든 PerspectiveMeasureGroup을 반환합니다.

Add(PerspectiveMeasureGroup)

지정된 PerspectiveMeasureGroup을 컬렉션의 끝에 추가합니다.

public int Add (Microsoft.AnalysisServices.PerspectiveMeasureGroup item);
override this.Add : Microsoft.AnalysisServices.PerspectiveMeasureGroup -> int
Public Function Add (item As PerspectiveMeasureGroup) As Integer

매개 변수

반환

PerspectiveMeasureGroup을 컬렉션에 추가한 인덱스(0부터 시작)입니다.

예외

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

적용 대상

Add(String)

지정된 MeasureGroupID를 사용하여 새 PerspectiveMeasureGroup 개체를 만들고, 컬렉션의 끝에 추가하고, 새로 만든 PerspectiveMeasureGroup을 반환합니다.

public Microsoft.AnalysisServices.PerspectiveMeasureGroup Add (string measureGroupId);
override this.Add : string -> Microsoft.AnalysisServices.PerspectiveMeasureGroup
Public Function Add (measureGroupId As String) As PerspectiveMeasureGroup

매개 변수

measureGroupId
String

PerspectiveMeasureGroup 개체의 MeasureGroupID입니다.

반환

새로 만든 PerspectiveMeasureGroup 개체입니다.

예외

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

적용 대상