Compartir a través de


ModelComponentCollection.IndexOf Method (String)

Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.

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

Sintaxis

'Declaración
Protected Function IndexOf ( _
    key As String _
) As Integer
protected int IndexOf (
    string key
)
protected:
int IndexOf (
    String^ key
)
protected int IndexOf (
    String key
)
protected function IndexOf (
    key : String
) : int

Parámetros

  • key
    The key of the IModelComponent to locate.

Valor devuelto

The zero-based index of the first occurrence of key within the ModelComponentCollection, if 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

ModelComponentCollection Class
ModelComponentCollection Members
Microsoft.AnalysisServices Namespace