共用方式為


Index.HasCompressedPartitions 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property HasCompressedPartitions As Boolean 
    Get
'用途
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

屬性值

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

備註

The partitions are identified by the PhysicalPartitionCollection.

範例

建立、改變和移除索引

請參閱

參考

Index 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

索引

CREATE INDEX (Transact-SQL)