Skip to content
Docs Try Aspire

IResourceWithConnectionString.withConnectionProperty

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithConnectionString {
// ... omitted for brevity
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString;
}

Signature

method withConnectionProperty builder
Adds a connection property with a reference expression
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString
name string
value ReferenceExpression
IResourceWithConnectionString

Defined on

This method is defined on the following type: