MajorObjectCollection.Add Method (ModelComponent)
Applies To: SQL Server (starting with 2016)
Adds a ModelComponent to the end of the MajorObjectCollection.
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
item
Type: Microsoft.AnalysisServices.ModelComponentThe ModelComponent to add.
Return Value
Type: System.Int32
The MajorObjectCollection index at which the item has been added.
See Also
Add Overload
MajorObjectCollection Class
Microsoft.AnalysisServices Namespace
Return to top