Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithSkipWhenDeployed

Method
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects v13.6.1
func (SqlProjectResource) WithSkipWhenDeployed() SqlProjectResource

Signature

methodWithSkipWhenDeployedbuilder
Specifies that .dacpac deployment should be skipped if metadata in the target database indicates that the .dacpac has already been deployed in its current state.
WithSkipWhenDeployed() SqlProjectResource
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: