SqlServerIndexExtensions.SetVectorMetric メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| SetVectorMetric(IMutableIndex, String) |
ベクトル インデックスの類似性メトリックを設定します。 |
| SetVectorMetric(IConventionIndex, String, Boolean) |
ベクトル インデックスの類似性メトリックを設定します。 |
SetVectorMetric(IMutableIndex, String)
ベクトル インデックスの類似性メトリックを設定します。
[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)
パラメーター
- index
- IMutableIndex
インデックスです。
- metric
- String
設定する値。
- 属性
適用対象
SetVectorMetric(IConventionIndex, String, Boolean)
ベクトル インデックスの類似性メトリックを設定します。
[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
パラメーター
- index
- IConventionIndex
インデックスです。
- metric
- String
設定する値。
- fromDataAnnotation
- Boolean
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
構成された値。
- 属性