IndexOf Method (AggregationInstanceMeasure)
Collapse the table of content
Expand the table of content

AggregationInstanceMeasureCollection.IndexOf Method (AggregationInstanceMeasure)


Applies To: SQL Server (starting with 2016)

Gets the index of a specified AggregationInstanceMeasure in the collection

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

public int IndexOf(
	AggregationInstanceMeasure item


Type: Microsoft.AnalysisServices.AggregationInstanceMeasure

Specifies the AggregationInstanceMeasure to be located in the collection.

Return Value

Type: System.Int32

The zero-based index at which the AggregationInstanceMeasure has been found in the collection. Otherwise -1, when the object is not found.

Return to top
© 2016 Microsoft