Condividi tramite


Proprietà DataSourceDefinition.Enabled

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

Spazio dei nomi  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Sintassi

'Dichiarazione
Public Property Enabled As Boolean 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.Boolean
true ifa data source is enabled; otherwise, false. The default is true.

Osservazioni

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 Omissione di valori per gli oggetti del servizio Web facoltativi.

Vedere anche

Riferimento

DataSourceDefinition Classe

Spazio dei nomi ReportService2010