Partilhar via


Método Add

Adds a Dependency object to the DependencyCollection object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Add ( _
    dependencyCollectionNode As DependencyCollectionNode _
)
'Uso
Dim instance As DependencyCollection
Dim dependencyCollectionNode As DependencyCollectionNode

instance.Add(dependencyCollectionNode)
public void Add(
    DependencyCollectionNode dependencyCollectionNode
)
public:
virtual void Add(
    DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract Add : 
        dependencyCollectionNode:DependencyCollectionNode -> unit 
override Add : 
        dependencyCollectionNode:DependencyCollectionNode -> unit 
public final function Add(
    dependencyCollectionNode : DependencyCollectionNode
)

Parâmetros

Implementa

ICollection< (Of < ( <'T> ) > ) >. . :: . .Add(T)

Exemplos

Gerando scripts