Méthode CubeDimensionPermissionCollection.IndexOf (CubeDimensionPermission)
Gets the index of a specified CubeDimensionPermission.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As CubeDimensionPermission _
) As Integer
'Utilisation
Dim instance As CubeDimensionPermissionCollection
Dim item As CubeDimensionPermission
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
CubeDimensionPermission item
)
public:
int IndexOf(
CubeDimensionPermission^ item
)
member IndexOf :
item:CubeDimensionPermission -> int
public function IndexOf(
item : CubeDimensionPermission
) : int
Paramètres
- item
Type : Microsoft.AnalysisServices.CubeDimensionPermission
The CubeDimensionPermission to be returned.
Valeur de retour
Type : System.Int32
The zero-based index of the CubeDimensionPermission if the object is found; otherwise, -1.