Share via


ModelComponentCollection.Add Method (ModelComponent, Boolean)

 

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,
    bool updateDependents
)
public protected:
virtual int Add(
    ModelComponent^ item,
    bool updateDependents
)
abstract Add : 
        item:ModelComponent *
        updateDependents:bool -> int
override Add : 
        item:ModelComponent *
        updateDependents:bool -> int
Protected Friend Overridable Function Add (
    item As ModelComponent,
    updateDependents As Boolean
) As Integer

Parameters

  • updateDependents
    Type: System.Boolean

    Indicates whether to update the dependents.

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