MajorObjectCollection.Add Method (ModelComponent)

Adds a ModelComponent to the end of the MajorObjectCollection.

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

Syntax

'Declaration
Protected Friend Overrides Function Add ( _
    item As ModelComponent _
) As Integer
protected internal override int Add (
    ModelComponent item
)
protected public:
virtual int Add (
    ModelComponent^ item
) override
protected int Add (
    ModelComponent item
)
protected internal override function Add (
    item : ModelComponent
) : int

Parameter

Rückgabewert

The MajorObjectCollection index at which the item has been added.

Hinweise

If item does not implement IMajorObject, an error occurs.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

MajorObjectCollection Class
MajorObjectCollection Members
Microsoft.AnalysisServices Namespace