Partilhar 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
public bool DestinationOverwrite { get; set; }
public:
virtual property bool DestinationOverwrite {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_DestinationOverwrite ()

/** @property */
public final void set_DestinationOverwrite (boolean value)
public final function get DestinationOverwrite () : boolean

public final function set DestinationOverwrite (value : boolean)

Property Value

true indicates that the existing database at the destination is overwritten during the transfer.

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

TransferDatabaseTask Class
TransferDatabaseTask Members
Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace