Método DimensionPermissionCollection.IndexOf (DimensionPermission)
Gets the index of a specified DimensionPermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function IndexOf ( _
item As DimensionPermission _
) As Integer
'Uso
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
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission to be returned.
Valor de retorno
Tipo: System.Int32
The zero-based index of the DimensionPermission if the object is found; otherwise, -1.