共用方式為


Index.Level2Grid 屬性

Specifies the second level of decomposition for a geometry data type.

命名空間:  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 Level2Grid As SpatialGeoLevelSize 
    Get 
    Set
'用途
Dim instance As Index 
Dim value As SpatialGeoLevelSize 

value = instance.Level2Grid

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.SpatialGeoLevelSize
The second level of decomposition for a geometry data type.

備註

The index-creation process decomposes the space into a four-level grid hierarchy. These levels are referred to as level 1 (the top level), level 2, level 3, and level 4.

Each successive level further decomposes the level above it, so each upper-level cell contains a complete grid at the next level. On a given level, all the grids have the same number of cells along both axes (for example, 4x4 or 8x8), and the cells are all one size.

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

請參閱

參考

Index 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

空間索引概觀