Metoda DataSourceCollection.IndexOf (DataSource)
Pobiera indeks określonego DataSource.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function IndexOf ( _
item As DataSource _
) As Integer
'Użycie
Dim instance As DataSourceCollection
Dim item As DataSource
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
DataSource item
)
public:
int IndexOf(
DataSource^ item
)
member IndexOf :
item:DataSource -> int
public function IndexOf(
item : DataSource
) : int
Parametry
- item
Typ: Microsoft.AnalysisServices.DataSource
DataSource Mają być zwrócone.
Wartość zwracana
Typ: System.Int32
Indeksu z DataSource , jeśli obiekt znajduje się; w przeciwnym razie -1.
Zobacz także