Compartilhar via


Método IndexOf (AggregationDesign)

Gets the index of a specified AggregationDesign.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As AggregationDesign _
) As Integer
'Uso
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

Valor de retorno

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