Condividi tramite


Metodo IndexOf

Gets the index of a specified BackupLocation.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    item As BackupLocation _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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