DependencyCollection Class

 

The DependencyCollection class represents a collection of T:Microsoft.SqlServer.Management.Smo.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)

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

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodDependencyCollection()

Initializes a new instance of the DependencyCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of DependencyCollectionNode objects in the DependencyCollection object.

System_CAPS_pubpropertyItem(Int32)

Gets a DependencyCollectionNode object in the collection by index number.

NameDescription
System_CAPS_pubmethodAdd(DependencyCollectionNode)

Adds a T:Microsoft.SqlServer.Management.Smo.Dependency object to the DependencyCollection object.

System_CAPS_pubmethodAddRange(IEnumerable<DependencyCollectionNode>)

Adds a range of nodes to the collection.

System_CAPS_pubmethodClear()

Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object.

System_CAPS_pubmethodContains(DependencyCollectionNode)

Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.

System_CAPS_pubmethodContainsUrn(Urn, Server)

Determines whether the specified T:Microsoft.SqlServer.Management.Smo.Urn object exists on the specified server.

System_CAPS_pubmethodCopyTo(DependencyCollectionNode[], Int32)

Copies the collection objects to a one-dimensional array beginning at the index value specified.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets an enumerator that can iterate through the list of objects.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(DependencyCollectionNode)

Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.

System_CAPS_pubmethodInsert(Int32, DependencyCollectionNode)

Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(DependencyCollectionNode)

Removes a DependencyCollectionNode object from the DependencyCollection object.

System_CAPS_pubmethodRemoveAt(Int32)

Removes a DependencyCollectionNode object from the DependencyCollection object and the specified index position.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an IEnumerator interface that is required to iterate through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection<DependencyCollectionNode>.IsReadOnly

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 T:Microsoft.SqlServer.Management.Smo.Dependency object.

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.

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

Return to top
Show: