DependencyCollection.Contains Method (DependencyCollectionNode)


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

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

public bool Contains(
	DependencyCollectionNode dependencyCollectionNode


Type: Microsoft.SqlServer.Management.Smo.DependencyCollectionNode

A DependencyCollectionNode object that must be validated as a member of the DependencyCollection object.

Return Value

Type: System.Boolean

A Boolean value that specifies whether the specified object exists in the DependencyCollection object.

If True, it is a member of the collection. Otherwise, False.

Return to top