共用方式為


DimensionAttribute.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.

請參閱

參考

DimensionAttribute 類別

Microsoft.AnalysisServices 命名空間