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 | |
---|---|---|
Count | Gets the number of DependencyCollectionNode objects in the DependencyCollection object. | |
Item | Gets a DependencyCollectionNode object in the collection by index number. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Adds a Dependency object to the DependencyCollection object. | |
AddRange | ||
Clear | Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object. | |
Contains | Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object. | |
ContainsUrn | Determines whether the specified object is a member of the DependencyCollection object. | |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | |
Equals | Overloaded. (inherited from Object ) | |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
IndexOf | Returns the index value of the DependencyCollectionNode object within the DependencyCollection object. | |
Insert | Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object. | |
ReferenceEquals | (inherited from Object ) | |
Remove | Removes a DependencyCollectionNode object from the DependencyCollection object. | |
RemoveAt | Removes a DependencyCollectionNode object from the DependencyCollection object and the specified index position. | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
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