次の方法で共有


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 名前空間