Compartilhar via


Propriedade Enabled

Indicates whether a data source is enabled.

Namespace:  ReportService2005
Assembly:  ReportService2005 (em ReportService2005.dll)

Sintaxe

'Declaração
Public Property Enabled As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .Boolean
A Boolean value indicating whether a data source is enabled.

Comentários

The default value is true.

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