SearchIndexerDataSourceConnection 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.
Creates a new instance of the SearchIndexerDataSourceConnection class.
public SearchIndexerDataSourceConnection (string name, Azure.Search.Documents.Indexes.Models.SearchIndexerDataSourceType type, string connectionString, Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer container);
new Azure.Search.Documents.Indexes.Models.SearchIndexerDataSourceConnection : string * Azure.Search.Documents.Indexes.Models.SearchIndexerDataSourceType * string * Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer -> Azure.Search.Documents.Indexes.Models.SearchIndexerDataSourceConnection
Public Sub New (name As String, type As SearchIndexerDataSourceType, connectionString As String, container As SearchIndexerDataContainer)
Parameters
- name
- String
The name of the data source.
The type of the data source.
- connectionString
- String
The connection string to the data source.
- container
- SearchIndexerDataContainer
The data container for the data source.
Exceptions
name
, connectionString
, or container
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET