Freigeben über


IgnoreDrift-Eigenschaft

Hinweis: Diese API ist veraltet.

Ruft die Upgradeoption zum Ignorieren der Abweichung ab und legt sie fest.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
<ObsoleteAttribute("Please use BlockOnChanges")> _
Public Property IgnoreDrift As Boolean
    Get
    Set
'Usage
Dim instance As DacUpgradeOptions
Dim value As Boolean

value = instance.IgnoreDrift

instance.IgnoreDrift = value
[ObsoleteAttribute("Please use BlockOnChanges")]
public bool IgnoreDrift { get; set; }
[ObsoleteAttribute(L"Please use BlockOnChanges")]
public:
property bool IgnoreDrift {
    bool get ();
    void set (bool value);
}
[<ObsoleteAttribute("Please use BlockOnChanges")>]
member IgnoreDrift : bool with get, set
function get IgnoreDrift () : boolean
function set IgnoreDrift (value : boolean)

Eigenschaftswert

Typ: System. . :: . .Boolean
Ein Boolean-Wert, der angibt, welche Aktion für das Upgrade durchgeführt wird, wenn eine Abweichung erkannt wird. True gibt an, dass das Upgrade trotz der in der Datenbank gefundenen Änderungen durchgeführt wird, die möglicherweise dazu führen, dass einige Daten in der aktualisierten Datenbank fehlen. Geben Sie True nur im Anschluss an eine Analyse der Änderungen an. Zudem sollte ein Plan für die manuelle Migration der Daten vorliegen. False gibt an, dass das Upgrade beendet wird, wenn eine Abweichung erkannt wird.

Hinweise

Drift is marked by changes made to a database after a DAC is deployed, such that the database schema is now different than the original schema defined in the DAC type. If tables have been added or changed, such as by using CREATE TABLE or ALTER TABLE statements, the tables or their data may not be moved to the upgraded database. They will be present in the original database that is preserved by the upgrade, so you can move the data manually. For more information, see Aktualisieren von Datenebenenanwendungen.