Partager via


Propriété Enabled

Indicates whether a data source is enabled.

Espace de noms :  ReportService2005
Assembly :  ReportService2005 (en ReportService2005.dll)

Syntaxe

'Déclaration
Public Property Enabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

The default value is true.

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