DacUpgradeResult.OriginalDatabaseName Property
Gets a String value that specifies the new name for the original database that was preserved by the upgrade.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Déclaration
Public ReadOnly Property OriginalDatabaseName As String
Get
'Utilisation
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
Property Value
Type: String
A String value that specifies the new name for the original database that was preserved by the upgrade.
Remarks
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 Upgrading Data-tier Applications.