getConnectionString

Method
📦 Aspire.Hosting v17.0.0
interface IConfiguration {
// ... omitted for brevity
getConnectionString(name: string): string;
}

Signature

methodgetConnectionString
Gets a connection string by name.
getConnectionString(name: string): string
namestringThe connection string name.
string

Applies to

This method applies to the following types: