Share via


TransferDatabaseTask.DestinationOverwrite Property

Gets or sets a Boolean indicating whether the destination database can be overwritten if it exists.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly:  Microsoft.SqlServer.TransferDatabasesTask (in Microsoft.SqlServer.TransferDatabasesTask.dll)

Syntax

'Declaration
Public Property DestinationOverwrite As Boolean 
    Get 
    Set
'Usage
Dim instance As TransferDatabaseTask 
Dim value As Boolean 

value = instance.DestinationOverwrite

instance.DestinationOverwrite = value
public bool DestinationOverwrite { get; set; }
public:
virtual property bool DestinationOverwrite {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract DestinationOverwrite : bool with get, set 
override DestinationOverwrite : bool with get, set
final function get DestinationOverwrite () : boolean 
final function set DestinationOverwrite (value : boolean)

Property Value

Type: System.Boolean
true indicates that the existing database at the destination is overwritten during the transfer.

Implements

ITransferDatabaseTask.DestinationOverwrite

See Also

Reference

TransferDatabaseTask Class

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace