Visual Studio 2017을 사용하는 것이 좋습니다.

PerspectiveKpiCollection.IndexOf 메서드 (String)

Gets the index of a PerspectiveKpi that has the specified identifier.

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

public int IndexOf(
	string id

매개 변수

유형: System.String
The identifier of a PerspectiveKpi to locate.

반환 값

유형: System.Int32
The zero-based index of the PerspectiveKpi specified by kpiID if the object is found; otherwise, -1.