Skip to content
Docs Try Aspire

IResourceWithConnectionString.getConnectionProperty

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

Signature

method getConnectionProperty
Gets a connection property by key
getConnectionProperty(key: string): ReferenceExpression
key string
ReferenceExpression

Defined on

This method is defined on the following type: