Index.SpatialIndexType プロパティ

列の空間インデックスの種類を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property SpatialIndexType As SpatialIndexType 
    Get 
    Set
'使用
Dim instance As Index 
Dim value As SpatialIndexType 

value = instance.SpatialIndexType

instance.SpatialIndexType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public SpatialIndexType SpatialIndexType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property SpatialIndexType SpatialIndexType {
    SpatialIndexType get ();
    void set (SpatialIndexType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member SpatialIndexType : SpatialIndexType with get, set
function get SpatialIndexType () : SpatialIndexType 
function set SpatialIndexType (value : SpatialIndexType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo.SpatialIndexType
SpatialIndexType

説明

SpatialIndexType プロパティの有効な値を次に示します。

説明

インデックスは空間ではありません。

なし = 0

幾何学的空間インデックスの種類

GeometryGrid = 1

地理グリッド空間インデックスの種類

GeographyGrid = 2

このプロパティは、Alter メソッドを使用して変更することはできません。 このプロパティを変更するには、インデックスの再構築または再作成が必要です。

関連項目

参照

Index クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

空間インデックスの概要