次の方法で共有


IndexAttribute.IsClustered プロパティ

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

このインデックスがクラスター化インデックスを定義するかどうかを示す値を取得または設定します。

名前空間:  System.ComponentModel.DataAnnotations.Schema
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Overridable Property IsClustered As Boolean 
    Get 
    Set
'使用
Dim instance As IndexAttribute 
Dim value As Boolean 

value = instance.IsClustered

instance.IsClustered = value
public virtual bool IsClustered { get; set; }
public:
virtual property bool IsClustered {
    bool get ();
    void set (bool value);
}
abstract IsClustered : bool with get, set 
override IsClustered : bool with get, set
function get IsClustered () : boolean 
function set IsClustered (value : boolean)

プロパティ値

型 : System.Boolean
このインデックスがクラスター化インデックスを定義する場合は true、非クラスター化インデックスを定義する場合は false。

解説

このプロパティの値は IsClusteredConfigured が true を返す場合にのみ関連します。 IsClusteredConfigured が false を返す場合、このプロパティの値は無意味です。

参照

参照

IndexAttribute クラス

System.ComponentModel.DataAnnotations.Schema 名前空間