Transfer.PreserveDbo Property

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

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

Syntax

'Declaration
Public Property PreserveDbo As Boolean
    Get
    Set
'Usage
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)

Property Value

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

See Also

Reference

Other Resources

User-Defined Table Types