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 升級資料層應用程式.