Share via


SearchAudience(String) Constructor

Definition

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