Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDacDeployOptions

Method
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects v13.6.1
func (SqlProjectResource) WithDacDeployOptions(optionsPath string) SqlProjectResource

Signature

methodWithDacDeployOptionsbuilder
Sets the publish profile path used for DAC deployment options.
WithDacDeployOptions(optionsPath string) SqlProjectResource
optionsPathstringPath to the publish profile xml file
SqlProjectResource

An IResourceBuilder that can be used to further customize the resource.

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

Applies to

This method applies to the following types: