Partager via


AttributeHierarchyOptimizedState propriété

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Property AttributeHierarchyOptimizedState As OptimizationType
    Get
    Set
'Utilisation
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)

Notes

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.