Share via


ModelComponentCollection.Add Method (ModelComponent)

 

Applies To: SQL Server (starting with 2016)

Adds a ModelComponent object to the ModelComponentCollection.

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

Syntax

protected internal virtual int Add(
    ModelComponent item
)
public protected:
virtual int Add(
    ModelComponent^ item
)
abstract Add : 
        item:ModelComponent -> int
override Add : 
        item:ModelComponent -> int
Protected Friend Overridable Function Add (
    item As ModelComponent
) As Integer

Parameters

Return Value

Type: System.Int32

The item that is added to the collection.

See Also

Add Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top