共用方式為


SearchClientOptions.Audience Property

Definition

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