This string includes only the information required to establish a connection. For detailed descriptions of these properties, see Required properties.

jdbc:datadirect:teamcity:ServerName=server_name;AuthenticationMethod=BearerToken;
SecurityToken=security_token;[property=value[;...]];

where:

server_name
specifies the base URL of the TeamCity service to which you want to issue requests. For example, https://teamcity.company.com for enterprise accounts.
Note: Specifying an HTTPS URL for this property enables data encryption.
security_token
specifies the security token used to connect to your TeamCity service.
property=value
specifies connection property settings. Multiple properties are separated by a semi-colon.

The following example shows how to establish a connection to a TeamCity service:

Connection conn = DriverManager.getConnection
  ("jdbc:datadirect:teamcity:ServerName=teamcity.company.com;
    SecurityToken=12a3=bCD/EfGh4Ijk+Lgd8g-44tk3c527831;");