IndexOf méthode (Database)
Gets the index of a specified Database.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As Database _
) As Integer
'Utilisation
Dim instance As DatabaseCollection
Dim item As Database
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Database item
)
public:
int IndexOf(
Database^ item
)
member IndexOf :
item:Database -> int
public function IndexOf(
item : Database
) : int
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .Database
The Database to be returned.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the Database if the object is found; otherwise, -1.