次の方法で共有


DataSourceDefinition.Enabled プロパティ

データ ソースが有効であるかどうかを示します。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
Public Property Enabled As Boolean 
    Get 
    Set
'使用
Dim instance As DataSourceDefinition 
Dim value As Boolean 

value = instance.Enabled

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

プロパティ値

型: System.Boolean
データ ソースが有効であるかどうかを示す Boolean 値です。

説明

既定値は true です。

false に設定すると、レポート サーバーは、データ ソースに関連付けられたアイテムを実行しません。

関連項目

参照

DataSourceDefinition クラス

ReportService2005 名前空間