client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java
@Deprecated
  public synchronized OServerAdmin createDatabase(final String iDatabaseType, String iStorageMode) throws IOException {
    return createDatabase(storage.getName(), iDatabaseType, iStorageMode);
  }
@Deprecated
  public synchronized OServerAdmin createDatabase(final String iDatabaseType, String iStorageMode) throws IOException {
    return createDatabase(storage.getName(), iDatabaseType, iStorageMode);
  }
@ Deprecated public synchronized OServerAdmin createDatabase ( final String iDatabaseType , String iStorageMode ) throws IOException { return createDatabase ( storage . getName ( ) , iDatabaseType , iStorageMode ) ; }
Creates a database in a remote server.

@param iDatabaseType 'document' or 'graph'
@param iStorageMode  local or memory

@return The instance itself. Useful to execute method in chain

@throws IOException
Creates a database in a remote server .