OriginalDatabaseName 属性

Gets a String value that specifies the new name for the original database that was preserved by the upgrade.

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public ReadOnly Property OriginalDatabaseName As String
    Get
用法
Dim instance As DacUpgradeResult
Dim value As String

value = instance.OriginalDatabaseName
public string OriginalDatabaseName { get; }
public:
property String^ OriginalDatabaseName {
    String^ get ();
}
member OriginalDatabaseName : string
function get OriginalDatabaseName () : String

属性值

类型:System. . :: . .String
A String value that specifies the new name for the original database that was preserved by the upgrade.

注释

When a DAC instance is upgraded, the upgrade creates a new copy of the database associated with the DAC, deploys the new DAC type, and migrates data from the original database to the new database. The upgrade then gives the original database a new name, and renames the new database to have the original name. Any tables and data that upgrade could not migrate to the new database are retained in the renamed original database, and you can migrate them manually. For more information, see 升级数据层应用程序.