コード例 #1
0
ファイル: AsyncAdminServerClient.cs プロジェクト: mow/ravendb
 public async Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false, CancellationToken token = default(CancellationToken))
 {
     using (var req = adminRequest.DeleteDatabase(databaseName, hardDelete))
     {
         await req.ExecuteRequestAsync().WithCancellation(token).ConfigureAwait(false);
     }
 }
コード例 #2
0
 public async Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false)
 {
     using (var req = adminRequest.DeleteDatabase(databaseName, hardDelete))
     {
         await req.ExecuteRequestAsync().ConfigureAwait(false);
     }
 }
コード例 #3
0
 public Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false)
 {
     return(adminRequest.DeleteDatabase(databaseName, hardDelete).ExecuteRequestAsync());
 }