DimensionAttribute.Usage Property

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

名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)

構文

'宣言
<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)

プロパティ値

属性の使用方法を示す AttributeUsage です。

解説

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

説明

Regular

通常の属性です。

Key

キー属性です。

Parent

親属性です。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

DimensionAttribute Class
DimensionAttribute Members
Microsoft.AnalysisServices Namespace