Compartir a través de


DatabaseCollection.IndexOf Method (String)

Gets the index of a Database with the specified identifier.

Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    id As String _
) As Integer
public int IndexOf (
    string id
)
public:
int IndexOf (
    String^ id
)
public int IndexOf (
    String id
)
public function IndexOf (
    id : String
) : int

Parámetros

  • id
    The identifier of a Database to be located.

Valor devuelto

The zero-based index of the Database specified by id if the object is found; otherwise, -1.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

DatabaseCollection Class
DatabaseCollection Members
Microsoft.AnalysisServices Namespace