Partager via


Propriété DataCompression

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property DataCompression As DataCompressionType
    Get
    Set
'Utilisation
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)

Valeur de propriété

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