milvus-logo
LFAI
< Docs
  • C#

RenameAsync()

Renames a collection.

Invocation

await collection.RenameAsync(newName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
newNameThe new collection name.stringTrue
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.