SqlServerIndexExtensions.GetDataCompression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework