Partager via


Propriété SqlDeploymentOptions.DisableAndReenableDdlTriggers

Get or set boolean that specifies if all DDL triggers will be disabled for the duration of the deployment operation and then re-enabled after all changes are applied.

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public ReadOnly Property DisableAndReenableDdlTriggers As Boolean 
    Get
'Utilisation
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.DisableAndReenableDdlTriggers
public bool DisableAndReenableDdlTriggers { get; }
public:
property bool DisableAndReenableDdlTriggers {
    bool get ();
}
member DisableAndReenableDdlTriggers : bool
function get DisableAndReenableDdlTriggers () : boolean

Valeur de propriété

Type : System.Boolean
True to disable DDL triggers during deployment; otherwise, false. Default is true.

Notes

Triggers may remain disabled if an error occurs during execution.

Voir aussi

Référence

SqlDeploymentOptions Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment