SearchModelFactory.IndexedSharePointKnowledgeSourceParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of IndexedSharePointKnowledgeSourceParameters.
public static Azure.Search.Documents.Indexes.Models.IndexedSharePointKnowledgeSourceParameters IndexedSharePointKnowledgeSourceParameters(string connectionString = default, Azure.Search.Documents.Models.IndexedSharePointContainerName containerName = default, string query = default, Azure.Search.Documents.Indexes.Models.KnowledgeSourceIngestionParameters ingestionParameters = default, System.Collections.Generic.IReadOnlyDictionary<string,string> createdResources = default);
static member IndexedSharePointKnowledgeSourceParameters : string * Azure.Search.Documents.Models.IndexedSharePointContainerName * string * Azure.Search.Documents.Indexes.Models.KnowledgeSourceIngestionParameters * System.Collections.Generic.IReadOnlyDictionary<string, string> -> 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 createdResources As IReadOnlyDictionary(Of String, String) = 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.
- createdResources
- IReadOnlyDictionary<String,String>
Resources created by the knowledge source.
Returns
A new IndexedSharePointKnowledgeSourceParameters instance for mocking.