Metodo CellPermissionCollection.IndexOf (CellPermissionAccess)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

VB
'Dichiarazione
Public Function IndexOf ( _
    access As CellPermissionAccess _
) As Integer
'Utilizzo
Dim instance As CellPermissionCollection 
Dim access As CellPermissionAccess 
Dim returnValue As Integer 

returnValue = instance.IndexOf(access)

Parametri

Valore restituito

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

Vedere anche

Riferimento

CellPermissionCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices