CubeDimensionPermissionCollection.IndexOf Method (CubeDimensionPermission)
Gets the index of a specified CubeDimensionPermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As CubeDimensionPermission _
) As Integer
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.CubeDimensionPermission
The CubeDimensionPermission to be returned.
Return Value
Type: System.Int32
The zero-based index of the CubeDimensionPermission if the object is found; otherwise, -1.