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

IWithPartitionKey<ParentT>.WithPartitionKeyPath(String[]) 方法

定义

指定容器分区键路径。

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT> WithPartitionKeyPath (params string[] paths);
abstract member WithPartitionKeyPath : string[] -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKeyPath (ParamArray paths As String()) As IWithAttach(Of ParentT)

参数

paths
String[]

使用可对容器内的数据进行分区的路径列表。

返回

定义的下一阶段。

适用于