共用方式為


CollectionItem.MarkForDrop 方法

This method marks a collection item for dropping if the collection item has been changed.

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

語法

'宣告
Public Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
'用途
Dim instance As CollectionItem 
Dim dropOnAlter As Boolean

instance.MarkForDrop(dropOnAlter)
public void MarkForDrop(
    bool dropOnAlter
)
public:
virtual void MarkForDrop(
    bool dropOnAlter
) sealed
abstract MarkForDrop : 
        dropOnAlter:bool -> unit  
override MarkForDrop : 
        dropOnAlter:bool -> unit
public final function MarkForDrop(
    dropOnAlter : boolean
)

參數

  • dropOnAlter
    型別:System.Boolean
    A Boolean value that indicates whether or not a collection item has changed.

實作

IMarkForDrop.MarkForDrop(Boolean)

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

請參閱

參考

CollectionItem 類別

Microsoft.SqlServer.Management.Collector 命名空間