Udostępnij za pośrednictwem


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

'Deklaracja
Public Property PreserveDbo As Boolean
public bool PreserveDbo { get; set; }
public:
property bool PreserveDbo {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_PreserveDbo ()

/** @property */
public void set_PreserveDbo (boolean value)
public function get PreserveDbo () : boolean

public function set PreserveDbo (value : boolean)

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.