milvus-logo
LFAI
< Docs
  • C#

CreatePartitionAsync()

Creates a partition.

Invocation

await collection.CreatePartitionAsync(partitionName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
partitionNameThe name of partition to be created.stringTrue
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.

Feedback

Was this page helpful?