Partager via


Propriété TransferBase.CopyAllUserDefinedTypes

Gets or sets a value that indicates whether all the SQL Server user-defined types 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 CopyAllUserDefinedTypes As Boolean 
    Get 
    Set
'Utilisation
Dim instance As TransferBase 
Dim value As Boolean 

value = instance.CopyAllUserDefinedTypes

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

Valeur de propriété

Type : System.Boolean
true if all the SQL Server user-defined types 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