Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CompactLargeObjects Property

Index.CompactLargeObjects Property

Gets or sets the Boolean property value that specifies whether to compact the large object (LOB) data in the index.

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

public bool CompactLargeObjects { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether to compact the index if the data is large.
If True, the index is compacted for large data. Otherwise, False (default).

Setting this property to true compacts large object (LOB) data, such as text, image, varchar(max), nvarchar(max), and varbinary columns.

Community Additions

© 2015 Microsoft