Skip to content
Docs Try Aspire
Docs Try

getConnectionProperty

Method
📦 Aspire.Hosting v13.3.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

Applies to

This method applies to the following types: