AggregationInstanceDimensionCollection.IndexOf Method (String)

 

Updated: May 24, 2016

Gets the index of the AggregationInstanceDimension with the specified cubeDimensionId within the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public int IndexOf(
	string cubeDimensionId
)

Parameters

cubeDimensionId
Type: System.String

The cubeDimensionId of the AggregationInstanceDimension to be located in the collection.

Return Value

Type: System.Int32

The zero-based index of the AggregationInstanceDimension in the collection, if found; otherwise, -1.

Return to top
Show: