PublishOptions Class

Definition

Configures options for what will be reported when performing certain operations from DacServices, in particular whether a DeployReport and/or DeployScript will be generated

public sealed class PublishOptions
type PublishOptions = class
Public NotInheritable Class PublishOptions
Inheritance
PublishOptions

Constructors

PublishOptions()

Configures options for what will be reported when performing certain operations from DacServices, in particular whether a DeployReport and/or DeployScript will be generated

Properties

CancelToken

Nullable CancellationToken to allow the caller to cancel a deployment

DatabaseScriptPath

Optional path to write the DB-level deployment script, if GenerateDeploymentScript is true. This script contains all operations that must be done against the database during deployment.

DeployOptions

Optional DacDeployOptions to configure a range of deployment options.

GenerateDeploymentReport

Sets whether a Deployment Report should be generated during deploy. This report is a high-level summary of actions being performed during deployment.

GenerateDeploymentScript

Sets whether Deployment Script(s) should be generated during deploy. If true, a script to update the database will be generated, and a script to update Master may also be generated if the target is an Azure SQL DB and this database has not yet been created.

MasterDbScriptPath

Optional path to write the master database-level deployment script, if GenerateDeploymentScript is true. This script is only created if Azure SQL DB is the target as USE statements are not supported on that platform. It contains all operations that must be done against the master database, for instance Create Database statements

Applies to