Partager via


PreserveDbo propriété

Gets or sets the Boolean property value that specifies are retained through the transfer process.

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

Syntaxe

'Déclaration
Public Property PreserveDbo As Boolean
    Get
    Set
'Utilisation
Dim instance As Transfer
Dim value As Boolean

value = instance.PreserveDbo

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

Valeur de la propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether all SQL Server User-Defined Table Types are copied in the transfer operation.
If True, SQL Server DBO ownerships are copied from the source database to the target database. Otherwise, False (default).

Voir aussi

Référence

Autres ressources

User-Defined Table Types