Share via


AggregationDesignCollection.IndexOf Method (AggregationDesign)

Gets the index of a specified AggregationDesign.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As AggregationDesign _
) As Integer
'Usage
Dim instance As AggregationDesignCollection
Dim item As AggregationDesign
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    AggregationDesign item
)
public:
int IndexOf(
    AggregationDesign^ item
)
member IndexOf : 
        item:AggregationDesign -> int 
public function IndexOf(
    item : AggregationDesign
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index of the AggregationDesign, if the object is found; otherwise, -1.