Partager via


Propriété TransferBase.CopyAllDefaults

Gets or sets a value that indicates whether all the SQL Server defaults are copied from the source database to the target database in the transfer operation.

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

Syntaxe

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

value = instance.CopyAllDefaults

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

Valeur de propriété

Type : System.Boolean
true if all SQL Server defaults are copied from the source database to the target database; otherwise, false. The default is false.

Voir aussi

Référence

TransferBase Classe

Espace de noms Microsoft.SqlServer.Management.Smo