SqlDeployment Members

Include Protected Members
Include Inherited Members

Represents SQL deployment.

The SqlDeployment type exposes the following members.

Constructors

  Name Description
Public method SqlDeployment Initializes a new instance of the SqlDeployment class.

Top

Methods

  Name Description
Public method Configure Called to optionally configure deployment from a deployment manifest. (Inherited from Deployment.)
Public method Dispose Releases resources. (Inherited from Deployment.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Executes deployment. (Inherited from Deployment.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadDeploymentConfiguration Loads the deployment configuration. (Inherited from Deployment.)
Public method LoadSqlCmdVariables Loads SQL command variables.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAfterPreparePlan Does nothing. (Inherited from Deployment.)
Protected method OnBeforePreparePlan Used to override model settings. (Overrides Deployment.OnBeforePreparePlan().)
Protected method OnBuildConnectionString Used to configure a connection string. (Overrides Deployment.OnBuildConnectionString(String, String).)
Protected method OnCancel Does nothing. (Inherited from Deployment.)
Protected method OnConfigure Returns a list of configuration error messages. (Overrides Deployment.OnConfigure(Project, DirectoryInfo).)
Protected method OnConfigureComparerConfiguration Used to configure a model comparer configuration. (Overrides Deployment.OnConfigureComparerConfiguration(ModelComparerConfiguration).)
Protected method OnCreateDeploymentExecutor Used to return a new SQL deployment database executor. (Overrides Deployment.OnCreateDeploymentExecutor().)
Protected method OnCreateDeploymentScriptGenerator Returns a deployment script generator. (Inherited from Deployment.)
Protected method OnCreateNewDatabaseModel Used to create a new data schema model. (Overrides Deployment.OnCreateNewDatabaseModel(ErrorManager, String).)
Protected method OnDatabaseExists Returns whether connection to the master database is successful using this connection string. (Overrides Deployment.OnDatabaseExists(String, String).)
Protected method OnImportTargetModel Used to import a target model. (Overrides Deployment.OnImportTargetModel(ReverseEngineerConstructor).)
Protected method OnInitializeConstructor Overloaded. Used to initialize a service constructor.
Protected method OnLoadDeploymentConfiguration Used to load a deployment configuration. (Overrides Deployment.OnLoadDeploymentConfiguration(FileInfo).)
Protected method OnVerifyModels Returns a list of model verification error messages. (Overrides Deployment.OnVerifyModels().)
Protected method OnVerifyPlan Returns a collection of deployment plan problems. (Overrides Deployment.OnVerifyPlan().)
Protected method OnVerifyTargetConnection Used to verify that we can connect to the master database with this connection string. (Overrides Deployment.OnVerifyTargetConnection(String).)
Public method SetDeployToDatabase Sets whether to deploy to database. (Inherited from Deployment.)
Public method SetDeployToScript Sets whether to deploy to script. (Inherited from Deployment.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property ComparisonResult Gets a model comparison result. (Inherited from Deployment.)
Protected property DatabaseSchemaProvider Gets the database schema provider used for deployment. (Inherited from Deployment.)
Public property ErrorManager Gets the error manager. (Inherited from Deployment.)
Protected property HeaderData Gets header data. (Inherited from Deployment.)
Public property Options Gets plan generation options. (Inherited from Deployment.)
Protected property OriginalSourceDatabaseSchemaProvider Gets the original database schema provider specified through the source model before any translation/migration of the model to match the target's provider. (Inherited from Deployment.)
Public property Plan Gets the deployment plan. (Inherited from Deployment.)
Public property PlanExecutors Gets a list of plan executors. (Inherited from Deployment.)
Protected property PlanGenerator Gets a deployment plan generator. (Inherited from Deployment.)
Public property PlanModifiers Gets a list of plan modifiers. (Inherited from Deployment.)
Public property Source Gets the model source. (Inherited from Deployment.)
Public property Target Gets the model target. (Inherited from Deployment.)

Top

Events

  Name Description
Public event ContributorMessage The contributor message event. (Inherited from Deployment.)

Top

See Also

Reference

SqlDeployment Class

Microsoft.Data.Schema.Sql.Build Namespace