Freigeben über


Index.HasCompressedPartitions-Eigenschaft

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.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property HasCompressedPartitions As Boolean 
    Get
'Usage
Dim instance As Index 
Dim value As Boolean 

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

Eigenschaftswert

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

Hinweise

The partitions are identified by the PhysicalPartitionCollection.

Beispiele

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Index Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Indizes

CREATE INDEX (Transact-SQL)