共用方式為


Report.CacheState 屬性

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

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Property CacheState As Boolean 
    Get 
    Set
'用途
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)

屬性值

型別:System.Boolean
A Boolean value that indicates objects to be rendered will be cached.

備註

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.

請參閱

參考

Report 類別

Microsoft.ReportingServices.ReportRendering 命名空間