共用方式為


DataSource.Transaction 屬性

Gets or sets the value that indicates whether the datasets that use this data source run in a single transaction.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Property Transaction As Boolean 
    Get 
    Set
'用途
Dim instance As DataSource 
Dim value As Boolean 

value = instance.Transaction

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

屬性值

型別:System.Boolean
true if the datasets that use this data source run in a single transaction, otherwise, false.

請參閱

參考

DataSource 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間