SearchAlias Constructors
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.
Overloads
SearchAlias(String, IEnumerable<String>) |
Initializes a new instance of SearchAlias. |
SearchAlias(String, String) |
Initializes a new instance of SearchAlias. |
SearchAlias(String, IEnumerable<String>)
- Source:
- SearchAlias.cs
Initializes a new instance of SearchAlias.
public SearchAlias (string name, System.Collections.Generic.IEnumerable<string> indexes);
new Azure.Search.Documents.Indexes.Models.SearchAlias : string * seq<string> -> Azure.Search.Documents.Indexes.Models.SearchAlias
Public Sub New (name As String, indexes As IEnumerable(Of String))
Parameters
- name
- String
The name of the alias.
- indexes
- IEnumerable<String>
The name of the index this alias maps to. Only one index name may be specified.
Exceptions
name
or indexes
is null.
Applies to
SearchAlias(String, String)
- Source:
- SearchAlias.cs
Initializes a new instance of SearchAlias.
public SearchAlias (string name, string index);
new Azure.Search.Documents.Indexes.Models.SearchAlias : string * string -> Azure.Search.Documents.Indexes.Models.SearchAlias
Public Sub New (name As String, index As String)
Parameters
- name
- String
The name of the alias.
- index
- String
The name of the index this alias maps to.
Exceptions
name
or index
is null.
Applies to
Azure SDK for .NET