Share via


DependencyCollection.Add Method

Adds a Dependency object to the DependencyCollection object.

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

Syntax

'Declaration
Public Sub Add ( _
    dependencyCollectionNode As DependencyCollectionNode _
)
'Usage
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
)

Parameters

Implements

ICollection<T>.Add(T)

Examples

Scripting

See Also

Reference

DependencyCollection Class

Microsoft.SqlServer.Management.Smo Namespace