PerspectiveKpiCollection.Add 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Add(PerspectiveKpi) |
지정된 PerspectiveKpi을 컬렉션의 끝에 추가합니다. |
Add(String) |
지정된 KpiID를 사용하여 새 PerspectiveKpi 개체를 만들고, 컬렉션의 끝에 추가하고, 새로 만든 PerspectiveKpi를 반환합니다. |
Add(PerspectiveKpi)
지정된 PerspectiveKpi을 컬렉션의 끝에 추가합니다.
public int Add (Microsoft.AnalysisServices.PerspectiveKpi item);
override this.Add : Microsoft.AnalysisServices.PerspectiveKpi -> int
Public Function Add (item As PerspectiveKpi) As Integer
매개 변수
- item
- PerspectiveKpi
추가할 PerspectiveKpi입니다.
반환
PerspectiveKpi을 컬렉션에 추가한 인덱스(0부터 시작)입니다.
예외
- 지정된 항목은 null 참조(Visual Basic의 경우 Nothing)입니다.
- 지정된 항목이 이미 컬렉션에 있습니다.
- 지정된 PerspectiveKpi 의 KpiID가 컬렉션에서 유효하지 않습니다.
- 지정된 PerspectiveKpi 의 이름이 컬렉션에서 유효하지 않습니다.
- 지정된 PerspectiveKpi 의 호환성 수준이 컬렉션에서 유효하지 않습니다.
적용 대상
Add(String)
지정된 KpiID를 사용하여 새 PerspectiveKpi 개체를 만들고, 컬렉션의 끝에 추가하고, 새로 만든 PerspectiveKpi를 반환합니다.
public Microsoft.AnalysisServices.PerspectiveKpi Add (string id);
override this.Add : string -> Microsoft.AnalysisServices.PerspectiveKpi
Public Function Add (id As String) As PerspectiveKpi
매개 변수
- id
- String
새 PerspectiveKpi 개체의 KpiID입니다.
반환
새로 만든 PerspectiveKpi 개체입니다.
예외
지정된 KpiID가 컬렉션에서 유효하지 않습니다.