Metodo DimensionPermissionCollection.IndexOf (DimensionPermission)
Gets the index of a specified DimensionPermission.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function IndexOf ( _
item As DimensionPermission _
) As Integer
'Utilizzo
Dim instance As DimensionPermissionCollection
Dim item As DimensionPermission
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
DimensionPermission item
)
public:
int IndexOf(
DimensionPermission^ item
)
member IndexOf :
item:DimensionPermission -> int
public function IndexOf(
item : DimensionPermission
) : int
Parametri
- item
Tipo: Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission to be returned.
Valore restituito
Tipo: System.Int32
The zero-based index of the DimensionPermission if the object is found; otherwise, -1.