Share via


PhysicalPartition.DataCompression Property

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(SfcPropertyFlags.Standalone)> _
Public Property DataCompression As DataCompressionType 
    Get 
    Set
'Usage
Dim instance As PhysicalPartition 
Dim value As DataCompressionType 

value = instance.DataCompression

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

Property Value

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.

See Also

Reference

PhysicalPartition Class

Microsoft.SqlServer.Management.Smo Namespace