共用方式為


BeginTransactionStatement.Distributed 屬性

取得或設定此交易是否為分散式交易。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property Distributed As Boolean
    Get
    Set
public bool Distributed { get; set; }
public:
property bool Distributed {
    bool get ();
    void set (bool value);
}
member Distributed : bool with get, set
function get Distributed () : boolean
function set Distributed (value : boolean)

屬性值

型別:System.Boolean
如果是分散式交易,會傳回 true,否則傳回 false。

.NET Framework 安全性

請參閱

參考

BeginTransactionStatement 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間