IWithPartitionKey<ParentT>.WithPartitionKey Method
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.
WithPartitionKey(CassandraPartitionKey) |
Specifies a Cassandra table partition key. |
WithPartitionKey(String) |
Specifies a Cassandra partition key. |
Specifies a Cassandra table partition key.
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey(Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraPartitionKey partitionKey);
abstract member WithPartitionKey : Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraPartitionKey -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKey (partitionKey As CassandraPartitionKey) As IWithAttach(Of ParentT)
Parameters
- partitionKey
- CassandraPartitionKey
The Cassandra table partition key.
Returns
The next stage of the definition.
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Specifies a Cassandra partition key.
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey(string name);
abstract member WithPartitionKey : string -> Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<'ParentT>
Public Function WithPartitionKey (name As String) As IWithAttach(Of ParentT)
Parameters
- name
- String
The name of the Cassandra partition key.
Returns
The next stage of the definition.
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Відгук про Azure SDK for .NET
Azure SDK for .NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: