IWithPartitionKey<ParentT>.WithPartitionKey Method

Definition

Overloads

WithPartitionKey(CassandraPartitionKey)

Specifies a Cassandra table partition key.

WithPartitionKey(String)

Specifies a Cassandra partition key.

WithPartitionKey(CassandraPartitionKey)

Specifies a Cassandra table partition key.

C#
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey(Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraPartitionKey partitionKey);

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

WithPartitionKey(String)

Specifies a Cassandra partition key.

C#
public Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition.IWithAttach<ParentT> WithPartitionKey(string name);

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