DependencyCollection Class

The DependencyCollection class represents a collection of Dependency objects that are used to derive the node classes in SMO scripting operations.

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

Syntax

'Declaration
Public Class DependencyCollection _
    Implements IList(Of DependencyCollectionNode), ICollection(Of DependencyCollectionNode),  _
    IEnumerable(Of DependencyCollectionNode), IEnumerable
'Usage
Dim instance As DependencyCollection
public class DependencyCollection : IList<DependencyCollectionNode>, 
    ICollection<DependencyCollectionNode>, IEnumerable<DependencyCollectionNode>, IEnumerable
public ref class DependencyCollection : IList<DependencyCollectionNode^>, 
    ICollection<DependencyCollectionNode^>, IEnumerable<DependencyCollectionNode^>, IEnumerable
type DependencyCollection =  
    class
        interface IList<DependencyCollectionNode>
        interface ICollection<DependencyCollectionNode>
        interface IEnumerable<DependencyCollectionNode>
        interface IEnumerable
    end
public class DependencyCollection implements IList<DependencyCollectionNode>, ICollection<DependencyCollectionNode>, IEnumerable<DependencyCollectionNode>, IEnumerable

Remarks

A DependencyCollection object can be used to gain access to a set of scripting dependencies. You can use the Item property to return a specific Dependency object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Scripting

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.DependencyCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.