Enabled 屬性

Indicates whether a data source is 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
A Boolean value indicating whether a data source is enabled.

備註

The default value is true.

When set to false, the Report Server does not execute any items associated with the data source.