Partager via


Propriété CopyAllDefaults

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly :  Microsoft.SqlServer.TransferSqlServerObjectsTask (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntaxe

'Déclaration
Public Property CopyAllDefaults As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.

Implémente

ITransferSqlServerObjectsTask. . :: . .CopyAllDefaults