다음을 통해 공유


Enabled 속성

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

네임스페이스:  ReportService2010
어셈블리:  ReportService2010(ReportService2010.dll)

구문

‘선언
Public Property Enabled As Boolean
    Get
    Set
‘사용 방법
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)

속성 값

유형: System. . :: . .Boolean
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 선택적 웹 서비스 개체에 대한 값 생략.