Właściwość Index.SpatialIndexType
Pobiera lub ustawia typ indeksu przestrzennej dla kolumna.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property SpatialIndexType As SpatialIndexType
Get
Set
'Użycie
Dim instance As Index
Dim value As SpatialIndexType
value = instance.SpatialIndexType
instance.SpatialIndexType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public SpatialIndexType SpatialIndexType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property SpatialIndexType SpatialIndexType {
SpatialIndexType get ();
void set (SpatialIndexType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member SpatialIndexType : SpatialIndexType with get, set
function get SpatialIndexType () : SpatialIndexType
function set SpatialIndexType (value : SpatialIndexType)
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.SpatialIndexType
SpatialIndexType
Uwagi
Prawidłowe wartooci dla SpatialIndexType są właściwość:
Wartość |
Opis |
---|---|
Indeks nie jest przestrzennej |
Brak = 0 |
Geometryczne przestrzennej typ indeksu |
GeometryGrid = 1 |
Siatka Geografia przestrzennej typ indeksu |
GeographyGrid = 2 |
Tej właściwość nie można modyfikować za pomocą Alter() metoda.Aby zmienić właściwość, indeks musi przebudowany lub utworzony ponownie.
Zobacz także