SearchClientOptions.Audience Property
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.
Gets or sets the Audience to use for authentication with Azure Active Directory (AAD). The audience is not considered when using a shared key.
public Azure.Search.Documents.SearchAudience? Audience { get; set; }
member this.Audience : Nullable<Azure.Search.Documents.SearchAudience> with get, set
Public Property Audience As Nullable(Of SearchAudience)
Property Value
If null
, AzurePublicCloud will be assumed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET