Share via


DataSourceDefinition.Enabled Property

Definition

Gets a value that indicates whether a data source is enabled.

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true ifa data source is enabled; otherwise, false. The default is true.

Remarks

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

The value for the Enabled property has a corresponding EnabledSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see Omitting Values for Optional Web Service Objects.

Applies to