DataSourceDefinition.Enabled 属性

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

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

public bool Enabled { get; set; }


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

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 省略可选 Web 服务对象的值.