Udostępnij za pośrednictwem


Report.CacheState Property

Gets or sets a value that indicates that objects to be rendered should be cached.

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
Public Property CacheState As Boolean
public bool CacheState { get; set; }
public:
property bool CacheState {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_CacheState ()

/** @property */
public void set_CacheState (boolean value)
public function get CacheState () : boolean

public function set CacheState (value : boolean)

Property Value

A Boolean value that indicates objects to be rendered will be cached.

Remarks

New:5 December 2005

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace