Partilhar via


DimensionAttribute.AttributeHierarchyOptimizedState Property

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

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<DefaultValueAttribute(OptimizationType.FullyOptimized)> _
Public Property AttributeHierarchyOptimizedState As OptimizationType
[DefaultValueAttribute(OptimizationType.FullyOptimized)] 
public OptimizationType AttributeHierarchyOptimizedState { get; set; }
[DefaultValueAttribute(OptimizationType::FullyOptimized)] 
public:
property OptimizationType AttributeHierarchyOptimizedState {
    OptimizationType get ();
    void set (OptimizationType value);
}
/** @property */
public OptimizationType get_AttributeHierarchyOptimizedState ()

/** @property */
public void set_AttributeHierarchyOptimizedState (OptimizationType value)
public function get AttributeHierarchyOptimizedState () : OptimizationType

public function set AttributeHierarchyOptimizedState (value : OptimizationType)

Property Value

An OptimizationType.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace