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

DataSourcePermissionCollection.IndexOf 메서드 (String)

Gets the index of a DataSourcePermission with the specified identifier.

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

public int IndexOf(
	string id

매개 변수

유형: System.String
The identifier of a DataSourcePermission to be located.

반환 값

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