共用方式為


IWithPartitionKey<ParentT>.WithPartitionKeyPath(String[]) Method

Definition

Specifies the container partition key paths.

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)

Parameters

paths
String[]

List of paths using which data within the container can be partitioned.

Returns

The next stage of the definition.

Applies to