parameters: (connection)
return_statement: return instance
docstring: Create an Instance profile for the remove server from the connection.
      Remote admin will be left disabled, to be filled by the user.
docstring_summary: Create an Instance profile for the remove server from the connection.
      Remote admin will be left disabled, to be filled by the user.
docstring_tokens: Create an Instance profile for the remove server from the connection . Remote admin will be left disabled to be filled by the user .
function: def autoDetectRemoteInstance(connection):
      """Create an Instance profile for the remove server from the connection.
      Remote admin will be left disabled, to be filled by the user."""
  
      instance = grt.classes.db_mgmt_ServerInstance()
      instance.connection = connection
      instance.name = connection.name
      instance.serverInfo["setupPending"] = True
      
      instance.owner = grt.root.wb.rdbmsMgmt
      grt.root.wb.rdbmsMgmt.storedInstances.append(instance)
      grt.modules.Workbench.saveInstances()
  
      return instance
function_tokens: def autoDetectRemoteInstance ( connection ) : instance = grt . classes . db_mgmt_ServerInstance ( ) instance . connection = connection instance . name = connection . name instance . serverInfo [ "setupPending" ] = True instance . owner = grt . root . wb . rdbmsMgmt grt . root . wb . rdbmsMgmt . storedInstances . append ( instance ) grt . modules . Workbench . saveInstances ( ) return instance