MajorObjectCollection.Add Method (ModelComponent)
Adds a ModelComponent to the end of the MajorObjectCollection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintaxis
'Declaración
Protected Friend Overrides Function Add ( _
item As ModelComponent _
) As Integer
protected internal override int Add (
ModelComponent item
)
protected public:
virtual int Add (
ModelComponent^ item
) override
protected int Add (
ModelComponent item
)
protected internal override function Add (
item : ModelComponent
) : int
Parámetros
- item
The ModelComponent to add.
Valor devuelto
The MajorObjectCollection index at which the item has been added.
Notas
If item does not implement IMajorObject, an error occurs.
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
MajorObjectCollection Class
MajorObjectCollection Members
Microsoft.AnalysisServices Namespace