Udostępnij za pośrednictwem


DataContainer Constructors

Definition

Overloads

DataContainer()

Initializes a new instance of the DataContainer class.

DataContainer(String, String)

Initializes a new instance of the DataContainer class.

DataContainer()

Source:
DataContainer.cs

Initializes a new instance of the DataContainer class.

public DataContainer ();
Public Sub New ()

Applies to

DataContainer(String, String)

Source:
DataContainer.cs

Initializes a new instance of the DataContainer class.

public DataContainer (string name, string query = default);
new Microsoft.Azure.Search.Models.DataContainer : string * string -> Microsoft.Azure.Search.Models.DataContainer
Public Sub New (name As String, Optional query As String = Nothing)

Parameters

name
String

The name of the table or view (for Azure SQL data source) or collection (for DocumentDB 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.

Applies to