Share via


DependencyCollection.Clear Method

Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As DependencyCollection

instance.Clear()
public void Clear()
public:
virtual void Clear() sealed
abstract Clear : unit -> unit  
override Clear : unit -> unit
public final function Clear()

Implements

ICollection<T>.Clear()

Examples

Scripting

See Also

Reference

DependencyCollection Class

Microsoft.SqlServer.Management.Smo Namespace