CubeDimensionPermissionCollection.IndexOf CubeDimensionPermissionCollection.IndexOf CubeDimensionPermissionCollection.IndexOf Method

Definition

Gets the index of a CubeDimensionPermission.

Overloads

IndexOf(CubeDimensionPermission) IndexOf(CubeDimensionPermission) IndexOf(CubeDimensionPermission)

Gets the index of a specified CubeDimensionPermission.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of a CubeDimensionPermission, with the specified identifier.

IndexOf(CubeDimensionPermission) IndexOf(CubeDimensionPermission) IndexOf(CubeDimensionPermission)

Gets the index of a specified CubeDimensionPermission.

public:
 int IndexOf(Microsoft::AnalysisServices::CubeDimensionPermission ^ item);
public int IndexOf (Microsoft.AnalysisServices.CubeDimensionPermission item);
Public Function IndexOf (item As CubeDimensionPermission) As Integer
Parameters
Returns

The zero-based index of the CubeDimensionPermission if the object is found; otherwise, -1.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of a CubeDimensionPermission, with the specified identifier.

public:
 int IndexOf(System::String ^ cubeDimensionId);
public int IndexOf (string cubeDimensionId);
Public Function IndexOf (cubeDimensionId As String) As Integer
Parameters
cubeDimensionId
String String String

The identifier of a CubeDimensionPermission to be located.

Returns

The zero-based index of the CubeDimensionPermission specified by cubeDimensionID if the object is found; otherwise, -1.

Applies to