Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Gets the index of a specified Database.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As Database _
) As Integer
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.Database
The Database to be returned.
Return Value
Type: System.Int32
The zero-based index of the Database if the object is found; otherwise, -1.