Index.CellsPerObject Property

Defines the maximum number of cells that tessellation can count per object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property CellsPerObject As Integer 
    Get 
    Set
'Usage
Dim instance As Index 
Dim value As Integer 

value = instance.CellsPerObject

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

Property Value

Type: System.Int32
Double

Remarks

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

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DEL - Spatial Indexing Overview