DimensionPermissionCollection.IndexOf Método (DimensionPermission)
Gets the index of a specified DimensionPermission.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Int32
The zero-based index of the DimensionPermission if the object is found; otherwise, -1.