Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Get or set boolean that specifies whether the system will check for differences between the present state of the database and the registered state of the database and block deployment if changes are detected. Even if this option is set to true, drift detection will only occur on a database if it was previously deployed with the RegisterDataTierApplication option enabled.
Espace de noms : Microsoft.SqlServer.Dac.Deployment
Assembly : Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)
Syntaxe
'Déclaration
Public ReadOnly Property BlockWhenDriftDetected As Boolean
Get
'Utilisation
Dim instance As SqlDeploymentOptions
Dim value As Boolean
value = instance.BlockWhenDriftDetected
public bool BlockWhenDriftDetected { get; }
public:
property bool BlockWhenDriftDetected {
bool get ();
}
member BlockWhenDriftDetected : bool
function get BlockWhenDriftDetected () : boolean
Valeur de propriété
Type : System.Boolean
True to error is drift is detected; otherwise, false. Default is true.