你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IndexResource(String, String) Constructor
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.
Initializes a new instance of IndexResource.
public IndexResource (string indexConnectionId, string indexName);
new Azure.AI.Projects.IndexResource : string * string -> Azure.AI.Projects.IndexResource
Public Sub New (indexConnectionId As String, indexName As String)
Parameters
- indexConnectionId
- String
An index connection id in an IndexResource attached to this agent.
- indexName
- String
The name of an index in an IndexResource attached to this agent.
Exceptions
indexConnectionId
or indexName
is null.