Udostępnij przez


Metoda BackupLocationCollection.IndexOf

Pobiera indeks określonego BackupLocation.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function IndexOf ( _
    item As BackupLocation _
) As Integer
'Użycie
Dim instance As BackupLocationCollection
Dim item As BackupLocation
Dim returnValue As Integer

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

Parametry

Wartość zwracana

Typ: System.Int32
Indeksu z BackupLocation , jeśli obiekt znajduje się; w przeciwnym razie -1.