次の方法で共有


DimensionAttribute.Usage プロパティ

属性の使用方法を取得します。値の設定も可能です。

名前空間:  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
属性の使用方法を示す AttributeUsage です。

説明

このプロパティの値は、次のいずれかになります。

説明

Regular

通常の属性です。

Key

キー属性です。

Parent

親属性です。

関連項目

参照

DimensionAttribute クラス

Microsoft.AnalysisServices 名前空間