Partager via


DimensionAttribute.Usage Property

Gets or sets how an attribute is used.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<DefaultValueAttribute(AttributeUsage.Regular)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage
[DefaultValueAttribute(AttributeUsage.Regular)] 
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")] 
public AttributeUsage Usage { get; set; }
[DefaultValueAttribute(AttributeUsage::Regular)] 
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")] 
public:
property AttributeUsage Usage {
    AttributeUsage get ();
    void set (AttributeUsage value);
}
/** @property */
public AttributeUsage get_Usage ()

/** @property */
public void set_Usage (AttributeUsage value)
public function get Usage () : AttributeUsage

public function set Usage (value : AttributeUsage)

Valeur de propriété

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace