Compartilhar via


Propriedade Usage

Gets or sets how an attribute is used.

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

Sintaxe

'Declaração
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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.