Share via


Index.HasCompressedPartitions Property

Gets or sets the Boolean property value that specifies whether the index has compressed partitions.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property HasCompressedPartitions As Boolean
    Get
'Usage
Dim instance As Index
Dim value As Boolean

value = instance.HasCompressedPartitions
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public bool HasCompressedPartitions { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property bool HasCompressedPartitions {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member HasCompressedPartitions : bool
function get HasCompressedPartitions () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the index has compressed partitions.
If True, the index has compressed partitions. Otherwise, False (default).

Remarks

The partitions are identified by the PhysicalPartitionCollection().