Méthode ModelComponentCollection.Add (ModelComponent, Boolean)

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Adds a ModelComponent object to the ModelComponentCollection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

VB
'Déclaration
Protected Friend Overridable Function Add ( _
    item As ModelComponent, _
    updateDependents As Boolean _
) As Integer
'Utilisation
Dim item As ModelComponent 
Dim updateDependents As Boolean 
Dim returnValue As Integer 

returnValue = Me.Add(item, updateDependents)

Paramètres

  • updateDependents
    Type : System.Boolean
    Indicates whether to update the dependents.

Valeur de retour

Type : System.Int32
The item that is added to the collection.

Voir aussi

Référence

ModelComponentCollection Classe

Surcharge Add

Espace de noms Microsoft.AnalysisServices