KnowledgeBase(String, IEnumerable<KnowledgeSourceReference>) Constructor
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 KnowledgeBase.
public KnowledgeBase(string name, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.KnowledgeSourceReference> knowledgeSources);
new Azure.Search.Documents.Indexes.Models.KnowledgeBase : string * seq<Azure.Search.Documents.Indexes.Models.KnowledgeSourceReference> -> Azure.Search.Documents.Indexes.Models.KnowledgeBase
Public Sub New (name As String, knowledgeSources As IEnumerable(Of KnowledgeSourceReference))
Parameters
- name
- String
The name of the knowledge base.
- knowledgeSources
- IEnumerable<KnowledgeSourceReference>
Knowledge sources referenced by this knowledge base.
Exceptions
name or knowledgeSources is null.