ModelComponentCollection.Item Property (Int32)

 

Applies To: SQL Server (starting with 2016)

Gets the IModelComponent at the specified index.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

protected IModelComponent this[
    int index
] { get; }
protected:
property IModelComponent^ default[
    int index
] {
    IModelComponent^ get(int index);
}
member Item : 
        index:int -> IModelComponent with get
Protected ReadOnly Property Item (
    index As Integer
) As IModelComponent

Parameters

  • index
    Type: System.Int32

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

Property Value

Type: Microsoft.AnalysisServices.IModelComponent

The Microsoft.DataWarehouse.IModelComponent at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero. -or-index is equal to or greater than Count.

See Also

ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top