Condividi tramite


Proprietà CacheState

Ottiene o imposta un valore che indica che gli oggetti da sottoporre a rendering devono essere memorizzati nella cache.

Spazio dei nomi  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
Public Property CacheState As Boolean
    Get
    Set
'Utilizzo
Dim instance As Report
Dim value As Boolean

value = instance.CacheState

instance.CacheState = value
public bool CacheState { get; set; }
public:
property bool CacheState {
    bool get ();
    void set (bool value);
}
member CacheState : bool with get, set
function get CacheState () : boolean
function set CacheState (value : boolean)

Valore proprietà

Tipo: System. . :: . .Boolean
Valore booleano indicante che gli oggetti da sottoporre a rendering verranno memorizzati nella cache.

Osservazioni

Any attempt to access the object after this flag is set will caused the objects to be retrieved from the reporting object model cache. Set this flag to false to prevent objects from being cached.