共用方式為


SearchClientBuilderExtensions Class

Definition

Extension methods to add SearchClient to the Azure client builder.

public static class SearchClientBuilderExtensions
type SearchClientBuilderExtensions = class
Public Module SearchClientBuilderExtensions
Inheritance
SearchClientBuilderExtensions

Methods

AddSearchClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a SearchClient instance with connection options loaded from the provided configuration instance.

AddSearchClient<TBuilder>(TBuilder, Uri, String, AzureKeyCredential)

Registers a SearchClient instance with the provided endpoint, indexName, and credential.

AddSearchIndexClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a SearchIndexClient instance with connection options loaded from the provided configuration instance.

AddSearchIndexClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a SearchIndexClient instance with the provided endpoint and credential.

AddSearchIndexerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a SearchIndexerClient instance with connection options loaded from the provided configuration instance.

AddSearchIndexerClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registers a SearchIndexerClient instance with the provided endpoint and credential.

Applies to