Jaa


MajorObjectCollection.Insert Method (Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Protected Friend Overrides Sub Insert ( _
    index As Integer, _
    item As ModelComponent _
)
protected internal override void Insert (
    int index,
    ModelComponent item
)
protected public:
virtual void Insert (
    int index, 
    ModelComponent^ item
) override
protected void Insert (
    int index, 
    ModelComponent item
)
protected internal override function Insert (
    index : int, 
    item : ModelComponent
)

Parameters

  • index
    The zero-based index at which item should be inserted.

Remarks

If item does not implement IMajorObject, an error occurs.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MajorObjectCollection Class
MajorObjectCollection Members
Microsoft.AnalysisServices Namespace