Språk

SqlServerIndexBuilderExtensions.CanSetFullTextCatalog Method

Definition

Returns a value indicating whether the index can be configured with the specified full-text catalog when targeting SQL Server.

public static bool CanSetFullTextCatalog(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, string? catalog, bool fromDataAnnotation = false);
static member CanSetFullTextCatalog : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * string * bool -> bool
<Extension()>
Public Function CanSetFullTextCatalog (indexBuilder As IConventionIndexBuilder, catalog As String, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

indexBuilder
IConventionIndexBuilder

The builder for the index being configured.

catalog
String

The name of the full-text catalog.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the index can be configured with the specified full-text catalog when targeting SQL Server.

Remarks

See Full-Text Search for more information on SQL Server full-text search.

Applies to