Compartir a través de


BackupLocationCollection.IndexOf Método

Gets the index of a specified BackupLocation.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    item As BackupLocation _
) As Integer
'Uso
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

Parámetros

Valor devuelto

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

Vea también

Referencia

BackupLocationCollection Clase

Espacio de nombres Microsoft.AnalysisServices