Partilhar via


Propriedade do RDL OriginalDatabaseName

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 (em Microsoft.SqlServer.Management.Dac.dll)

Sintaxe

'Declaração
Public ReadOnly Property OriginalDatabaseName As String
    Get
'Uso
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

Valor da propriedade

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

Comentários

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 Atualizando aplicativos da camada de dados.