Udostępnij przez


Metoda RestoreLocationCollection.IndexOf

Pobiera indeks określonego RestoreLocation.

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

Składnia

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

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

Wartość zwracana

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