共用方式為


CompactLargeObjects 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property CompactLargeObjects As Boolean
    Get
    Set
'用途
Dim instance As Index
Dim value As Boolean

value = instance.CompactLargeObjects

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

屬性值

型別: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.