Condividi tramite


ModelComponentCollection.Item Property

Gets the IModelComponent at the specified index.

Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintassi

'Dichiarazione
Protected ReadOnly Default Property Item ( _
    index As Integer _
) As IModelComponent
protected IModelComponent this [
    int index
] { get; }
protected:
property IModelComponent^ default [int] {
    IModelComponent^ get (int index);
}
/** @property */
protected IModelComponent get_Item (int index)

Parametri

  • index
    The zero-based index of the Microsoft.DataWarehouse.IModelComponent to get.

Valore proprietà

The Microsoft.DataWarehouse.IModelComponent at the specified index.

Eccezioni

Tipo di eccezione Condizione
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Osservazioni

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ModelComponentCollection Class
ModelComponentCollection Members
Microsoft.AnalysisServices Namespace