Share via


PostgresDatabaseResource.JdbcConnectionString Property

Definition

Gets the JDBC connection string for the PostgreSQL database.

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}/{database}.

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

Applies to