Metodo IndexOf (AggregationInstance)
Gets the index of a specified AggregationInstance.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function IndexOf ( _
item As AggregationInstance _
) As Integer
'Utilizzo
Dim instance As AggregationInstanceCollection
Dim item As AggregationInstance
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
AggregationInstance item
)
public:
int IndexOf(
AggregationInstance^ item
)
member IndexOf :
item:AggregationInstance -> int
public function IndexOf(
item : AggregationInstance
) : int
Parametri
- item
Tipo: Microsoft.AnalysisServices. . :: . .AggregationInstance
The AggregationInstance to be returned.
Valore restituito
Tipo: System. . :: . .Int32
The zero-based index of the AggregationInstance, if the object is found; otherwise, -1.
Vedere anche