Transfer.PreserveDbo Property
Gets or sets the Boolean property value that specifies 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 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).
See Also
Reference
Other Resources
User-Defined Table Types