Partager via


Propriété PreserveDbo

Gets or sets a Boolean value that specifies whether DBO ownerships are retained through the transfer process.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en 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 propriété

Type : System. . :: . .Boolean
A Boolean value that specifies true if 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