SearchAudience(String) Constructor
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.
Initializes a new instance of the SearchAudience object.
public SearchAudience (string value);
new Azure.Search.Documents.SearchAudience : string -> Azure.Search.Documents.SearchAudience
Public Sub New (value As String)
Parameters
- value
- String
The Azure Active Directory audience to use when forming authorization scopes.For the Language service, this value corresponds to a URL that identifies the Azure cloud where the resource is located.
Exceptions
value
is null.
Remarks
Please use one of the constant members over creating a custom value unless you have special needs for doing so.
Applies to
Azure SDK for .NET