共用方式為


AttributeHierarchyOptimizedState 屬性

Gets or sets the level of optimization applied to the attribute hierarchy.

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

語法

'宣告
Public Property AttributeHierarchyOptimizedState As OptimizationType
    Get
    Set
'用途
Dim instance As DimensionAttribute
Dim value As OptimizationType

value = instance.AttributeHierarchyOptimizedState

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

備註

The value of this property can be:

Value

Description

FullyOptimized

The server builds indexes for the attribute hierarchy to improve query performance.

NotOptimized

No additional indexes are built by the server.