Compartilhar via


Propriedade PreserveDbo

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Property PreserveDbo As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: 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).

Consulte também

Referência

Outros recursos

User-Defined Table Types