Freigeben über


DataCompression-Eigenschaft

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

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DataCompression As DataCompressionType
    Get
    Set
'Usage
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)

Eigenschaftswert

Typ: 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.