Share via


Table.HasCompressedPartitions Property

Gets a value indicating whether the table uses compressed partitions

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone,  _
    "false")> _
Public ReadOnly Property HasCompressedPartitions As Boolean
    Get
'Usage
Dim instance As Table
Dim value As Boolean

value = instance.HasCompressedPartitions
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone, 
    "false")]
public bool HasCompressedPartitions { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone, 
    L"false")]
public:
property bool HasCompressedPartitions {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone, 
    "false")>]
member HasCompressedPartitions : bool
function get HasCompressedPartitions () : boolean

Property Value

Type: System.Boolean
A Boolean value that indicates whether the table has compressed partitions. If True, the table has compressed partitions. Otherwise, False.