MajorObjectCollection.Add Method (ModelComponent)
SQL Server 2012
Adds a ModelComponent to the end of the MajorObjectCollection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- item
- Type: Microsoft.AnalysisServices.ModelComponent
The ModelComponent to add.
If item does not implement IMajorObject, an error occurs.
