milvus-logo
LFAI
< Docs
  • C#

ShowPartitionsAsync()

Lists all partitions defined for a collection.

Invocation

await collection.ShowPartitionsAsync(cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A list of MilvusPartition instances providing information about all partitions in the collection.