Skip to content
DocsTry Aspire
DocsTry

getConnectionProperty

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithConnectionString {
// ... omitted for brevity
getConnectionProperty(key: string): ReferenceExpression;
}

Signature

methodgetConnectionProperty
Retrieves the value of a specified connection property from the resource's connection properties.
getConnectionProperty(key: string): ReferenceExpression
keystring
ReferenceExpression

Applies to

This method applies to the following types: