다음을 통해 공유


SpatialIndexType 속성

Gets or sets the Spatial Index Type for a column.

네임스페이스:  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)

주의

Valid values for the SpatialIndexType property are:

Value

Description

Index is not spatial

None = 0

Geometric Spatial Index Type

GeometryGrid = 1

Geography Grid Spatial Index Type

GeographyGrid = 2

This property cannot be modified by using the Alter()()()() method. To change the property, the index must be rebuilt or re-created.