Share via


PostgresServerResource.JdbcConnectionString Property

Definition

Gets the JDBC connection string for the PostgreSQL server.

public Aspire.Hosting.ApplicationModel.ReferenceExpression JdbcConnectionString { get; }
member this.JdbcConnectionString : Aspire.Hosting.ApplicationModel.ReferenceExpression
Public ReadOnly Property JdbcConnectionString As ReferenceExpression

Property Value

Remarks

Format: jdbc:postgresql://{host}:{port}.

User and password credentials are not included in the JDBC connection string. Use the Username and Password connection properties to access credentials.

Applies to