Usage 属性
Gets or sets how an attribute is used.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.TypeConverterForAttributeUsage, Microsoft.AnalysisServices.Design")> _
Public Property Usage As AttributeUsage
Get
Set
用法
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)
属性值
类型:Microsoft.AnalysisServices. . :: . .AttributeUsage
A AttributeUsage describing how an attribute is used.
注释
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. |