DependencyCollection Members

Include Protected Members
Include Inherited Members

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

The DependencyCollection type exposes the following members.

Constructors

  Name Description
Public method DependencyCollection() Initializes a new instance of the DependencyCollection class.

Top

Methods

  Name Description
Public method Add(DependencyCollectionNode) Adds a Dependency object to the DependencyCollection object.
Public method AddRange(IEnumerable<DependencyCollectionNode>)
Public method Clear() Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object.
Public method Contains(DependencyCollectionNode) Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.
Public method ContainsUrn(Urn, Server)
Public method CopyTo(array<DependencyCollectionNode[], Int32) Copies the collection objects to a one-dimensional array beginning at the index value specified.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetEnumerator() Gets an enumerator that can iterate through the list of objects.
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public method IndexOf(DependencyCollectionNode) Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.
Public method Insert(Int32, DependencyCollectionNode) Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.
Protected method MemberwiseClone() (Inherited from Object.)
Public method Remove(DependencyCollectionNode) Removes a DependencyCollectionNode object from the DependencyCollection object.
Public method RemoveAt(Int32) Removes a DependencyCollectionNode object from the DependencyCollection object and the specified index position.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of DependencyCollectionNode objects in the DependencyCollection object.
Public property Item[Int32] Gets a DependencyCollectionNode object in the collection by index number.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator()
Explicit interface implemetationPrivate property ICollection<DependencyCollectionNode>.IsReadOnly

Top