Share via


SchemaDeployment.Execute Method

Executes the deployment plan by using all previously set properties, options, and parameters.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub Execute
public void Execute()
public:
void Execute()
member Execute : unit -> unit 
public function Execute()

Remarks

Execute is called after the deployment engine has been configured. Depending on how the deployment engine has been configured, you might see the following behavior when execute is called:

  • If the target database exists, a model of that target database is created.

  • The source and target models are compared.

  • A deployment plan is generated to update the target.

  • Modifying contributors are executed to update the plan.

  • Executing contributors are executed (including ones to write the deployment script and update the database).

.NET Framework Security

See Also

Reference

SchemaDeployment Class

Microsoft.Data.Schema.Build Namespace

OnCancel

ErrorManager

DeploymentFailedException

TreatVerificationErrorsAsWarnings

Options