你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISearchIndexClient.TargetDifferentIndex(String) 方法

定义

注意

This method is deprecated. Please set the IndexName property instead.

更改此客户端的 BaseUri,以面向同一Azure 认知搜索服务中的不同索引。 此方法不是线程安全的;在调用客户端之前,必须保证没有其他线程正在使用客户端。

[System.Obsolete("This method is deprecated. Please set the IndexName property instead.")]
public void TargetDifferentIndex (string newIndexName);
[<System.Obsolete("This method is deprecated. Please set the IndexName property instead.")>]
abstract member TargetDifferentIndex : string -> unit
Public Sub TargetDifferentIndex (newIndexName As String)

参数

newIndexName
String

所有后续请求都应发送到的索引的名称。

属性

适用于