Dela via


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
Returns Boolean which indicates whether the operation succeeded..

Implements

ICollection<T>.Remove(T)

Examples

Scripting