Freigeben über


SearchModelFactory.KnowledgeBaseIndexedSharePointReference Method

Definition

Initializes a new instance of KnowledgeBaseIndexedSharePointReference.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSharePointReference KnowledgeBaseIndexedSharePointReference(string id = default, int activitySource = 0, System.Collections.Generic.IReadOnlyDictionary<string,object> sourceData = default, float? rerankerScore = default, string docUrl = default);
static member KnowledgeBaseIndexedSharePointReference : string * int * System.Collections.Generic.IReadOnlyDictionary<string, obj> * Nullable<single> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSharePointReference
Public Shared Function KnowledgeBaseIndexedSharePointReference (Optional id As String = Nothing, Optional activitySource As Integer = 0, Optional sourceData As IReadOnlyDictionary(Of String, Object) = Nothing, Optional rerankerScore As Nullable(Of Single) = Nothing, Optional docUrl As String = Nothing) As KnowledgeBaseIndexedSharePointReference

Parameters

id
String

The ID of the reference.

activitySource
Int32

The source activity ID for the reference.

sourceData
IReadOnlyDictionary<String,Object>

Dictionary of <any>.

rerankerScore
Nullable<Single>

The reranker score for the document reference.

docUrl
String

The document URL for the reference.

Returns

A new KnowledgeBaseIndexedSharePointReference instance for mocking.

Applies to