Partager via


IMarkForDrop.MarkForDrop Method

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

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
Sub MarkForDrop ( _
    dropOnAlter As Boolean _
)
void MarkForDrop (
    bool dropOnAlter
)
void MarkForDrop (
    bool dropOnAlter
)
void MarkForDrop (
    boolean dropOnAlter
)
function MarkForDrop (
    dropOnAlter : boolean
)

Paramètres

  • 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.

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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