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

milvus-logo
LFAI
< Docs
  • C#

CreateAliasAsync()

Creates an alias for a collection.

Invocation

await milvusClient.CreateAliasAsync(collectionName, alias, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
collectionNameThe name of the collection for which to create the alias.stringTrue
aliasThe alias 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.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?