DataSourceDefinition.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

属性值

Boolean

true ifa 数据源已启用;否则为 false 。 默认值为 true

注解

当设置为时 false ,Report Server 不执行与数据源关联的任何项。

属性的值 Enabled 具有一个对应 EnabledSpecified 的属性,该属性指示是否应在 Web 服务调用中省略此属性。

有关省略属性的详细信息,请参阅 省略可选 Web 服务对象的值

适用于