DependencyCollection.Remove Method

Removes a DependencyCollectionNode object from the DependencyCollection object.

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

Syntax

'Declaration
Public Function Remove ( _
    dependencyCollectionNode As DependencyCollectionNode _
) As Boolean
'Usage
Dim instance As DependencyCollection
Dim dependencyCollectionNode As DependencyCollectionNode
Dim returnValue As Boolean

returnValue = instance.Remove(dependencyCollectionNode)
public bool Remove(
    DependencyCollectionNode dependencyCollectionNode
)
public:
virtual bool Remove(
    DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract Remove : 
        dependencyCollectionNode:DependencyCollectionNode -> bool 
override Remove : 
        dependencyCollectionNode:DependencyCollectionNode -> bool 
public final function Remove(
    dependencyCollectionNode : DependencyCollectionNode
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ICollection<T>.Remove(T)

Examples

Scripting