Sdílet prostřednictvím


SqlDeploymentOptions.DisableAndReenableDdlTriggers Property

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.

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property DisableAndReenableDdlTriggers As Boolean 
    Get
'Usage
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

Property Value

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

Remarks

Triggers may remain disabled if an error occurs during execution.

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace