public bool DropDatabase(string cluster, string shard, string database, bool dropFiles) { try { bool isDropped = this.dbMgtServer.DropDatabase(cluster, shard, database, dropFiles); if (isDropped) { ResourceId resourceId; ResourceId superResourceId; Security.Impl.SecurityManager.GetSecurityInformation(Permission.Delete_Database, database, out resourceId, out superResourceId, cluster); dbMgtServer.RemoveSecurityInformation(cluster, shard, resourceId, superResourceId); } return(isDropped); } catch (System.Exception ex) { throw ex; } }