RenameAsync()
Renames a collection.
Invocation
await collection.RenameAsync(newName, cancellationToken = default);
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
newName | The new collection name. | string | True |
cancellationToken | The token to monitor for cancellation requests. The default value is CancellationToken.None . | CancellationToken | False |
Return
This method does not return any value.