PostgresDatabaseResource.JdbcConnectionString Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.