Partager via


Propriété TransferBase.DropDestinationObjectsFirst

Gets or sets a value that indicates whether to drop the objects in the destination database before the transfer operation.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property DropDestinationObjectsFirst As Boolean 
    Get 
    Set
'Utilisation
Dim instance As TransferBase 
Dim value As Boolean 

value = instance.DropDestinationObjectsFirst

instance.DropDestinationObjectsFirst = value
public bool DropDestinationObjectsFirst { get; set; }
public:
property bool DropDestinationObjectsFirst {
    bool get ();
    void set (bool value);
}
member DropDestinationObjectsFirst : bool with get, set
function get DropDestinationObjectsFirst () : boolean 
function set DropDestinationObjectsFirst (value : boolean)

Valeur de propriété

Type : System.Boolean
true if the objects in the destination database are dropped before the transfer operation; otherwise, false. The default is false.

Voir aussi

Référence

TransferBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo