共用方式為


DataCompression 屬性

Gets or sets the type of data compression used to store the parent object on the physical partition.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property DataCompression As DataCompressionType
    Get
    Set
'用途
Dim instance As PhysicalPartition
Dim value As DataCompressionType

value = instance.DataCompression

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .DataCompressionType
A DataCompression object value that specifies the type of data compression used to store the parent object on the physical partition.