DataSourceDefinition.Enabled DataSourceDefinition.Enabled DataSourceDefinition.Enabled Property

定义

获取一个值,该值指示是否启用数据源。 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; }
Public Property Enabled As Boolean

属性值

true ifa 数据源已启用;否则为false true ifa data source is enabled; otherwise, false. 默认值为 true The default is true.

注解

当设置为false,报表服务器不会执行与数据源关联的任何项。When set to false, the report server does not execute any items associated with the data source.

Enabled属性都具有对应的EnabledSpecified属性,该值指示是否应从 Web 服务调用省略此属性。The value for the Enabled property has a corresponding EnabledSpecified property that indicates whether this property should be omitted from the Web service call.

有关省略属性的详细信息,请参阅省略可选的 Web 服务对象的值For more information about omitting properties, see Omitting Values for Optional Web Service Objects.

适用于