Propriété DimensionAttribute.Usage

Gets or sets how an attribute is used.

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

Syntaxe

'Déclaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.

Voir aussi

Référence

DimensionAttribute Classe

Espace de noms Microsoft.AnalysisServices