Свойство 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 Обновление приложений уровня данных.