Método IndexOf
Gets the index of a specified BackupLocation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
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
- item
Tipo: Microsoft.AnalysisServices. . :: . .BackupLocation
The BackupLocation to be returned.
Valor de retorno
Tipo: System. . :: . .Int32
The zero-based index of the BackupLocation if the object is found; otherwise, -1.