共用方式為


DacDeployOptions.IncludeTransactionalScripts 屬性

Get or set boolean that specifies whether to use transations during the deployment operation and commit the transaction after all changes are successfully applied.

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

語法

'宣告
Public Property IncludeTransactionalScripts As Boolean 
    Get 
    Set
'用途
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.IncludeTransactionalScripts

instance.IncludeTransactionalScripts = value
public bool IncludeTransactionalScripts { get; set; }
public:
property bool IncludeTransactionalScripts {
    bool get ();
    void set (bool value);
}
member IncludeTransactionalScripts : bool with get, set
function get IncludeTransactionalScripts () : boolean 
function set IncludeTransactionalScripts (value : boolean)

屬性值

型別:System.Boolean
True to use transactions during deployment; otherwise, false. Default is false.

請參閱

參考

DacDeployOptions 類別

Microsoft.SqlServer.Dac 命名空間