Share via


CollectionItem.MarkForDrop Method

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

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

Syntax

'Declaration
Public Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
'Usage
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
)

Parameters

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

Implements

IMarkForDrop.MarkForDrop(Boolean)

Remarks

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

See Also

Reference

CollectionItem Class

Microsoft.SqlServer.Management.Collector Namespace