Partager via


DropDestObjectsFirst Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The DropDestObjectsFirst property manipulates Microsoft SQL Server database object copying.

Syntaxe

object
.DropDestObjectsFirst [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • Value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDropDestObjectsFirst(LPBOOL pRetVal);
HRESULT SetDropDestObjectsFirst(BOOL NewValue);

Notes

If TRUE, the transfer attempts to drop a database object from the target database before copying the object from the source database.

If FALSE, the transfer copies database objects.

Notes

The value of the DropDestObjectsFirst property applies only if database objects are copied in the transfer. To copy database objects, the CopySchema property value must be TRUE.

Applies To:

Voir aussi

Référence