Partilhar via


IMarkForDrop.MarkForDrop Method

Marks the referenced object to be dropped next time its parent object is altered by the Alter method.

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
void MarkForDrop (
    bool dropOnAlter
)
void MarkForDrop (
    bool dropOnAlter
)
void MarkForDrop (
    boolean dropOnAlter
)
function MarkForDrop (
    dropOnAlter : boolean
)

Parameters

  • dropOnAlter
    A Boolean value that specifies whether to drop an object when its parent object is altered with the Alter method.

    If True, the object is dropped when the Alter method is run on the parent object.

    If False, the object is dropped immediately.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IMarkForDrop Interface
IMarkForDrop Members
Microsoft.SqlServer.Management.Common Namespace