共用方式為


Report.CacheState Property

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

命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
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)

屬性值

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

備註

新增:2005 年 12 月 5 日

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace