DependencyCollection Members

The DependencyCollection class represents a collection of Dependency objects that are used to derive the node classes in SQL Server Management Objects (SMO) scripting operations.

The following tables list the members exposed by the DependencyCollection type.

Public Constructors

  Name Description
DependencyCollection Initializes a new instance of the DependencyCollection class.

Top

Public Properties

  Name Description
ms219434.pubproperty(en-US,SQL.90).gif Count Gets the number of DependencyCollectionNode objects in the DependencyCollection object.
ms219434.pubproperty(en-US,SQL.90).gif Item Gets a DependencyCollectionNode object in the collection by index number.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms219434.pubmethod(en-US,SQL.90).gif Add Adds a Dependency object to the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif AddRange  
ms219434.pubmethod(en-US,SQL.90).gif Clear Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif Contains Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif ContainsUrn Determines whether the specified object is a member of the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms219434.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219434.pubmethod(en-US,SQL.90).gif GetEnumerator Gets an enumerator that can iterate through the list of objects.
ms219434.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms219434.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms219434.pubmethod(en-US,SQL.90).gif IndexOf Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif Insert Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gifms219434.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219434.pubmethod(en-US,SQL.90).gif Remove Removes a DependencyCollectionNode object from the DependencyCollection object.
ms219434.pubmethod(en-US,SQL.90).gif RemoveAt Removes a DependencyCollectionNode object from the DependencyCollection object and the specified index position.
ms219434.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms219434.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms219434.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.Generic.ICollection<DependencyCollectionNode>.IsReadOnly  

Top

See Also

Reference

DependencyCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Scripting