共用方式為


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.

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public ReadOnly Property DisableAndReenableDdlTriggers As Boolean 
    Get
'用途
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

屬性值

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

備註

Triggers may remain disabled if an error occurs during execution.

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間