IndexOf méthode
Gets the index of a specified BackupLocation.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As BackupLocation _
) As Integer
'Utilisation
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
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .BackupLocation
The BackupLocation to be returned.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the BackupLocation if the object is found; otherwise, -1.