AggregationInstanceCollection.IndexOf AggregationInstanceCollection.IndexOf AggregationInstanceCollection.IndexOf Method

Definition

Gets the index of an AggregationInstance.

Overloads

IndexOf(AggregationInstance) IndexOf(AggregationInstance) IndexOf(AggregationInstance)

Gets the index of a specified AggregationInstance.

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

Gets the index of an AggregationInstance with the specified identifier.

IndexOf(AggregationInstance) IndexOf(AggregationInstance) IndexOf(AggregationInstance)

Gets the index of a specified AggregationInstance.

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

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

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

Gets the index of an AggregationInstance with the specified identifier.

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

The identifier of an AggregationInstance to be located.

Returns

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

Applies to