SearchModelFactory.SearchIndexerDataContainer(String, String) Method

Definition

Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed.

public static Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer SearchIndexerDataContainer(string name = default, string query = default);
static member SearchIndexerDataContainer : string * string -> Azure.Search.Documents.Indexes.Models.SearchIndexerDataContainer
Public Shared Function SearchIndexerDataContainer (Optional name As String = Nothing, Optional query As String = Nothing) As SearchIndexerDataContainer

Parameters

name
String

The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed.

query
String

A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources.

Returns

A new SearchIndexerDataContainer instance for mocking.

Applies to