public String toURLString() {
		switch (dbType) {
			case postgres:
				return "postgresql://" + formatURLUserInfo() + host + getPortString() + "/" +
					urlEncode(dbName);

			case elastic:
				return "https://" + formatURLUserInfo() + host + getPortString() + "/" +
					urlEncode(dbName);

			case file: // h2:
				return "file:" + urlEncode(dbName);
		}
		throw new RuntimeException("Unsupported DBType: " + dbType);
	}
Return BSim server info in URL format.
Warning: If userinfo with password has been specified it will be returned in the URL.
@return BSim server info in URL format
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimServerInfo.java