Méthode DimensionPermissionCollection.IndexOf (DimensionPermission)
Gets the index of a specified DimensionPermission.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As DimensionPermission _
) As Integer
'Utilisation
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
Paramètres
- item
Type : Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission to be returned.
Valeur de retour
Type : System.Int32
The zero-based index of the DimensionPermission if the object is found; otherwise, -1.