SqlServerIndexExtensions.SetVectorMetric Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| SetVectorMetric(IMutableIndex, String) |
Nastaví metriku podobnosti pro index vektoru. |
| SetVectorMetric(IConventionIndex, String, Boolean) |
Nastaví metriku podobnosti pro index vektoru. |
SetVectorMetric(IMutableIndex, String)
Nastaví metriku podobnosti pro index vektoru.
[System.Diagnostics.CodeAnalysis.Experimental("EF9105")]
public static void SetVectorMetric(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? metric);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9105")>]
static member SetVectorMetric : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetVectorMetric (index As IMutableIndex, metric As String)
Parametry
- index
- IMutableIndex
Index.
- metric
- String
Hodnota, která se má nastavit.
- Atributy
Platí pro
SetVectorMetric(IConventionIndex, String, Boolean)
Nastaví metriku podobnosti pro index vektoru.
[System.Diagnostics.CodeAnalysis.Experimental("EF9105")]
public static string? SetVectorMetric(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? metric, bool fromDataAnnotation = false);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9105")>]
static member SetVectorMetric : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetVectorMetric (index As IConventionIndex, metric As String, Optional fromDataAnnotation As Boolean = false) As String
Parametry
- index
- IConventionIndex
Index.
- metric
- String
Hodnota, která se má nastavit.
- fromDataAnnotation
- Boolean
Určuje, jestli byla konfigurace zadána pomocí datové poznámky.
Návraty
Nakonfigurovaná hodnota.
- Atributy