Freigeben über


SearchModelFactory.KnowledgeBaseRemoteSharePointReference Method

Definition

Initializes a new instance of KnowledgeBaseRemoteSharePointReference.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseRemoteSharePointReference KnowledgeBaseRemoteSharePointReference(string id = default, int activitySource = 0, System.Collections.Generic.IReadOnlyDictionary<string,object> sourceData = default, float? rerankerScore = default, Uri webUrl = default, Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo searchSensitivityLabelInfo = default);
static member KnowledgeBaseRemoteSharePointReference : string * int * System.Collections.Generic.IReadOnlyDictionary<string, obj> * Nullable<single> * Uri * Azure.Search.Documents.KnowledgeBases.Models.SharePointSensitivityLabelInfo -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseRemoteSharePointReference
Public Shared Function KnowledgeBaseRemoteSharePointReference (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 webUrl As Uri = Nothing, Optional searchSensitivityLabelInfo As SharePointSensitivityLabelInfo = Nothing) As KnowledgeBaseRemoteSharePointReference

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.

webUrl
Uri

The url the reference data originated from.

searchSensitivityLabelInfo
SharePointSensitivityLabelInfo

Information about the sensitivity label applied to a SharePoint document.

Returns

A new KnowledgeBaseRemoteSharePointReference instance for mocking.

Applies to