共用方式為


Remove 方法

Removes a DependencyCollectionNode object from the DependencyCollection object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function Remove ( _
    dependencyCollectionNode As DependencyCollectionNode _
) As Boolean
'用途
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

傳回值

型別:System. . :: . .Boolean

實作

ICollection< (Of < ( <'T> ) > ) >. . :: . .Remove(T)

範例

指令碼