Share via


DimensionAttribute.Usage Property

Gets or sets how an attribute is used.

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

Syntax

'Declaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage
    Get
    Set
'Usage
Dim instance As DimensionAttribute
Dim value As AttributeUsage

value = instance.Usage

instance.Usage = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
public AttributeUsage Usage { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
public:
property AttributeUsage Usage {
    AttributeUsage get ();
    void set (AttributeUsage value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")>]
member Usage : AttributeUsage with get, set
function get Usage () : AttributeUsage
function set Usage (value : AttributeUsage)

Property Value

Type: Microsoft.AnalysisServices.AttributeUsage
A AttributeUsage describing how an attribute is used.

Remarks

The value of this property can be:

Value

Description

Regular

The attribute is a regular attribute.

Key

The attribute is a key attribute.

Parent

The attribute is a parent attribute.