DependencyCollection.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
參數
- dependencyCollectionNode
型別:Microsoft.SqlServer.Management.Smo.DependencyCollectionNode
A DependencyCollectionNode object that specifies the object that is removed from the DependencyCollection object.
傳回值
型別:System.Boolean
Returns Boolean which indicates whether the operation succeeded..