共用方式為


SearchClient.Endpoint Property

Definition

Gets the URI endpoint of the Search Service. This is likely to be similar to "https://{search_service}.search.windows.net".

public virtual Uri Endpoint { get; }
member this.Endpoint : Uri
Public Overridable ReadOnly Property Endpoint As Uri

Property Value

Uri

Remarks

This is not the URI of the Search Index. You could construct that URI with "{Endpoint}/indexes/{IndexName}" if needed.

Applies to