Compartir a través de


Index.CompactLargeObjects Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CompactLargeObjects As Boolean 
    Get 
    Set
'Uso
Dim instance As Index 
Dim value As Boolean 

value = instance.CompactLargeObjects

instance.CompactLargeObjects = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool CompactLargeObjects { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool CompactLargeObjects {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CompactLargeObjects : bool with get, set
function get CompactLargeObjects () : boolean 
function set CompactLargeObjects (value : boolean)

Valor de la propiedad

Tipo: 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).

Comentarios

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

Ejemplos

Crear, modificar y eliminar índices

Vea también

Referencia

Index Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Índices

CREATE INDEX (Transact-SQL)