🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs
  • C#

HasPartitionAsync()

Checks whether a partition exists.

Invocation

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

Parameters

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

Return

Whether the partition exists or not.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?