DimensionAttribute.Usage Property
Applies To: SQL Server 2016 Preview
Gets or sets how an attribute is used.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
[DefaultValueAttribute(AttributeUsage.Regular)]
public AttributeUsage Usage { get; set; }
public:
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")]
[DefaultValueAttribute(AttributeUsage::Regular)]
property AttributeUsage Usage {
AttributeUsage get();
void set(AttributeUsage value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")>]
[<DefaultValueAttribute(AttributeUsage.Regular)>]
member Usage : AttributeUsage with get, set
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")>
<DefaultValueAttribute(AttributeUsage.Regular)>
Public Property Usage As 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. |
See Also
DimensionAttribute Class
Microsoft.AnalysisServices Namespace
Return to top