Partager via


PublishResult Class

Definition

Contains the results of a publish or script operation. This will contain at least one of the DeploymentReport or DatabaseScript properties depending on what was requested in the PublishOptions

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

Constructors

PublishResult(String, String, String)

Constructs a PublishResult with the specified contents

Properties

DatabaseScript

The DB-level deployment script, if one was requested. This script contains all operations that must be done against the database during deployment.

DeploymentReport

A Deployment Report, if one was requested. This report is a high-level summary of actions being performed during deployment.

MasterDbScript

The master database-level deployment script, if one was requested. 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