milvus-logo
LFAI
< Docs
  • C#

CreateDatabaseAsync()

Creates a new database.

Invocation

await milvusClient.CreateDatabaseAsync(databaseName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
databaseNameThe name of the new database 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.