Share via


TransferSqlServerObjectsTask.CopyAllDefaults Property

Gets or sets a Boolean indicating that the transfer includes the SQL Server defaults.

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

Syntax

'Declaration
Public Property CopyAllDefaults As Boolean 
    Get 
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyAllDefaults

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

Property Value

Type: System.Boolean
true indicates that SQL Server defaults are transferred from the source to the target database. false indicates that only objects found in the DefaultsList are transferred.

Implements

ITransferSqlServerObjectsTask.CopyAllDefaults

See Also

Reference

TransferSqlServerObjectsTask Class

Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace