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.

Feedback

Was this page helpful?