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

CellPermissionCollection.IndexOf 메서드 (CellPermissionAccess)

Gets the index of a CellPermission with the specified CellPermissionAccess value.

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

public int IndexOf(
	CellPermissionAccess access

매개 변수

유형: Microsoft.AnalysisServices.CellPermissionAccess
The CellPermissionAccess value of the CellPermission to be returned.

반환 값

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