SqlServerIndexExtensions.GetDataCompression Method

Definition

Overloads

GetDataCompression(IReadOnlyIndex)

Returns the data compression that the index uses.

GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

Returns the data compression that the index uses.

GetDataCompression(IReadOnlyIndex)

Returns the data compression that the index uses.

public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
static member GetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> Nullable<Microsoft.EntityFrameworkCore.DataCompressionType>
<Extension()>
Public Function GetDataCompression (index As IReadOnlyIndex) As Nullable(Of DataCompressionType)

Parameters

index
IReadOnlyIndex

The index.

Returns

The data compression that the index uses

Applies to

GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

Returns the data compression that the index uses.

public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.DataCompressionType>
<Extension()>
Public Function GetDataCompression (index As IReadOnlyIndex, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of DataCompressionType)

Parameters

index
IReadOnlyIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The data compression that the index uses

Applies to