Share via


SearchIndexer(String, String, String) Constructor

Definition

Initializes a new instance of SearchIndexer.

public SearchIndexer (string name, string dataSourceName, string targetIndexName);
new Azure.Search.Documents.Indexes.Models.SearchIndexer : string * string * string -> Azure.Search.Documents.Indexes.Models.SearchIndexer
Public Sub New (name As String, dataSourceName As String, targetIndexName As String)

Parameters

name
String

The name of the indexer.

dataSourceName
String

The name of the datasource from which this indexer reads data.

targetIndexName
String

The name of the index to which this indexer writes data.

Exceptions

name, dataSourceName or targetIndexName is null.

Applies to