Partager via


Propriété CacheState

Obtient ou définit une valeur qui indique que les objets à restituer doivent être mis en cache.

Espace de noms :  Microsoft.ReportingServices.ReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

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

Valeur de propriété

Type : System. . :: . .Boolean
Valeur de type Boolean qui indique que les objets à restituer doivent être mis en cache.

Notes

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.