共用方式為


CubeHierarchy.OptimizedState 屬性

Gets or sets the optimization state of an associated CubeHierarchy object.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property OptimizedState As OptimizationType 
    Get 
    Set
'用途
Dim instance As CubeHierarchy 
Dim value As OptimizationType 

value = instance.OptimizedState

instance.OptimizedState = value
public OptimizationType OptimizedState { get; set; }
public:
property OptimizationType OptimizedState {
    OptimizationType get ();
    void set (OptimizationType value);
}
member OptimizedState : OptimizationType with get, set
function get OptimizedState () : OptimizationType 
function set OptimizedState (value : OptimizationType)

屬性值

型別:Microsoft.AnalysisServices.OptimizationType
The type of optimization associated with a CubeHierarchy object.

備註

It is either FullyOptimized or NotOptimized.

請參閱

參考

CubeHierarchy 類別

Microsoft.AnalysisServices 命名空間