Share via


NamedComponentCollection.Add Method (ModelComponent)

 

Applies To: SQL Server (starting with 2016)

Adds a ModelComponent object to the NamedComponentCollection.

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

Syntax

protected internal override int Add(
    ModelComponent item
)
public protected:
virtual int Add(
    ModelComponent^ item
) override
override Add : 
        item:ModelComponent -> int
Protected Friend Overrides 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
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top