Share via


DataSourceDefinition.Enabled Property

Indicates whether a data source is enabled.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
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)

Property Value

Type: System.Boolean
A Boolean value indicating whether a data source is enabled.

Remarks

The default value is true.

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