Sprog

SearchModelFactory.IndexedSharePointKnowledgeSourceParameters Method

Definition

Parameters for SharePoint knowledge source.

public static Azure.Search.Documents.Indexes.Models.IndexedSharePointKnowledgeSourceParameters IndexedSharePointKnowledgeSourceParameters(string connectionString = default, Azure.Search.Documents.Indexes.Models.IndexedSharePointContainerName containerName = default, string query = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceIngestionParameters ingestionParameters = default, Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints queryHints = default, Azure.Search.Documents.Indexes.Models.CreatedResources createdResources = default);
static member IndexedSharePointKnowledgeSourceParameters : string * Azure.Search.Documents.Indexes.Models.IndexedSharePointContainerName * string * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceIngestionParameters * Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints * Azure.Search.Documents.Indexes.Models.CreatedResources -> Azure.Search.Documents.Indexes.Models.IndexedSharePointKnowledgeSourceParameters
Public Shared Function IndexedSharePointKnowledgeSourceParameters (Optional connectionString As String = Nothing, Optional containerName As IndexedSharePointContainerName = Nothing, Optional query As String = Nothing, Optional ingestionParameters As KnowledgeSourceIngestionParameters = Nothing, Optional queryHints As SearchIndexKnowledgeSourceQueryHints = Nothing, Optional createdResources As CreatedResources = Nothing) As IndexedSharePointKnowledgeSourceParameters

Parameters

connectionString
String

SharePoint connection string with format: SharePointOnlineEndpoint=[SharePoint site url];ApplicationId=[Azure AD App ID];ApplicationSecret=[Azure AD App client secret];TenantId=[SharePoint site tenant id].

containerName
IndexedSharePointContainerName

Specifies which SharePoint libraries to access.

query
String

Optional query to filter SharePoint content.

ingestionParameters
KnowledgeSourceIngestionParameters

Consolidates all general ingestion settings.

queryHints
SearchIndexKnowledgeSourceQueryHints

Default hints that guide query planning toward useful filters and boosts for this index-backed knowledge source. Request-time query hints replace these defaults as a complete object.

createdResources
CreatedResources

Resources created by the knowledge source.

Returns

A new IndexedSharePointKnowledgeSourceParameters instance for mocking.

Applies to