Share via


SearchIndexerDataSourceConnection Constructor

Definition

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.

type
SearchIndexerDataSourceType

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