Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

SqlServerServerResource.WithPassword

Method
📦 Aspire.Hosting.SqlServer v17.0.0
type SqlServerServerResource interface {
// ... omitted for brevity
WithPassword(password ParameterResource) SqlServerServerResource
}

Signature

methodWithPasswordbuilder
Configures the password that the SqlServer resource is used.
WithPassword(password ParameterResource) SqlServerServerResource
passwordParameterResourceThe parameter used to provide the password for the SqlServer resource.
SqlServerServerResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: