Partager via


Espace de noms Microsoft.SqlServer.Dac.Deployment

Classes

  Classe Description
Classe publique AlterElementStep A step in a deployment plan that represent an alter to an element. This class is for read-only purpose and cannot be instantiated.
Classe publique BeginPostDeploymentScriptStep A step in the deployment plan that represents script deployment at the beginning the post-deployment. This class is for read-only purpose and cannot be instantiated.
Classe publique BeginPreDeploymentScriptStep A step in the deployment plan that represents script deployment at the beginning of pre-deployment. This class is for read-only purpose and cannot be instantiated.
Classe publique BuildContributor Represents the base class for build contributors. Subclasses of this class participate in a build by modifying a project model or by executing the model.
Classe publique BuildContributorContext Provides the context for the build process that is used by BuildContributor objects during project build. See documentation for the Arguments and ExtensionFiles properties for information on how to specify these inside a project file.
Classe publique BuildFailedException Represents a BuildFailedException should be thrown to indicate that the build cannot continue. This will stop the build process.
Classe publique ContributorArgumentConfiguration Instances of this class are created by Build and Deployment contributors during design-time to initialize arguments that are passed to them at runtime. In SSDT, these arguments must be specified using a ContributorArguments property in a .sqlproj file or a referenced .targets file. For instance to add a "RunMyContributor" argument with a value of "true", the following would be added: <PropertyGroup> <ContributorArguments Condition="'$(Configuration)' == 'Debug''"> $(ContributorArguments);RunMyContributor=True; </ContributorArguments> </PropertyGroup>In this case the argument is only added for Debug configuration. Using the above configuration it is possible to collect information from the MSBuild environment and pass it to the contributor. It is also possible to specify these when creating a package by using BuildPackage(String, TSqlModel, PackageMetadata, PackageOptions) and specifying PackageOptions.
Classe publique CreateElementStep The step in a deployment plan that represents a create of an element. This class is for read-only purpose and cannot be instantiated.
Classe publique DacBulkCopyStep The DacBulkCopyStep uploads / streams data from the dac package to the target db. This class is for read-only purpose and cannot be instantiated.
Classe publique DacDeleteFromTablesStep The step in deployment plan that represents delete from table. This class is for read-only purpose and cannot be instantiated.
Classe publique DacDisableForeignKeysStep The step in deployment plan that represents disabling foreign keys. This class is for read-only purpose and cannot be instantiated.
Classe publique DacRestoreConstraintsStep The step in deployment plan that represents restoring constraints. This class is for read-only purpose and cannot be instantiated.
Classe publique DacSaveConstraintsStep The step in deployment plan that represents saving constraints. This class is for read-only purpose.
Classe publique DeploymentContributor Represents the base class for deployment contributors. Subclasses of this class participate in a deployment by modifying a deployment plan or by executing the plan.
Classe publique DeploymentContributorConfigurationSetup Represents the current setup for DeploymentContributor objects. The setup object can be used by deployment contributors during build operations to cause files to be copied as outputs that are stored in the generated dacpac, or to create new files that are stored in the dacpac. See the DeploymentContributorConfigurationStream API for more information about specifying inputs.
Classe publique DeploymentContributorConfigurationStream Represents a streamable version of a configuration file that is used by DacFx in the deployment and build processes. These streams enable deployment extensions to enhance and extend the design and deployment experience. Input configuration files can be defined in a .sqlproj file as part of the MSBuild process. The files are treated as streams, and will be passed to contributors via the EstablishDeploymentConfiguration(DeploymentContributorConfigurationSetup) method, where they can be copied as outputs that are stored in the generated dacpac. These streams will then be made available in the ApplyDeploymentConfiguration(DeploymentContributorContext, ICollectionDeploymentContributorConfigurationStream), where they can be consumed for configuration and data during deployment. At the end of the ApplyDeploymentConfiguration(DeploymentContributorContext, ICollectionDeploymentContributorConfigurationStream) method all streams will be disposed. Contributors that need to obtain data from the streams must read and cache the data during this method - attempts to read from the stream during the OnExecute(DeploymentPlanContributorContext) method will fail. Inside a .sqproj file, Deployment Configuration files are specified as follows: <ItemGroup> <DeploymentExtensionConfiguration Include="MyContributorName.MyFileName1.sql" /> <DeploymentExtensionConfiguration Include="MyContributorName.MyFileName2.sql" /> </ItemGroup>Note that configuration streams are accessible to all contributors. Contributors may employ a file naming pattern to identify which input files related to that contributor.
Classe publique DeploymentContributorContext Provides a context for DeploymentContributor objects in DacFx
Classe publique DeploymentContributorInformation Provides information that identifies a deployment contributor.
Classe publique DeploymentFailedException Represents an exception that occurs during deployment.
Classe publique DeploymentPlan Represents the plan that is generated for Deployment.
Classe publique DeploymentPlanContributor Represents a contributor to the deployment process.
Classe publique DeploymentPlanContributorContext Provides a context for DeploymentPlanContributor objects.
Classe publique DeploymentPlanExecutor Represents a deployment constributor that executes the deployment plan. An example of a constributor would be one who executes deployment steps to create a report about actions performed during a deployment.
Classe publique DeploymentPlanHandle Represents the plan to handle the deployment.
Classe publique DeploymentPlanModifier Represents a constributor that can modify a deployment plan.
Classe publique DeploymentScriptDomStep Base class for script based deployment steps. Represents a deployment step that consists of an Abstract Syntax Tree (AST) and reference to a script Domain Object Model (DOM) generator. This class is for read-only purpose.
Classe publique DeploymentScriptStep Represents the step in deployment plan that represents deploying scripts. This class can be instantiated and used by extensions.
Classe publique DeploymentStep Represents a step in a deployment plan.
Classe publique DeploymentStepInternal Base class for implementing deployment step types. It should not be used for writing extensions. Extensions must directly implement DeploymentStep
Classe publique DropElementStep A step in deployment step that represents dropping a sql object. This class is for read-only purpose and cannot be instantiated.
Classe publique EmptyStep Represents an empty step in deployment plan. This class is for read-only purpose and cannot be instantiated.
Classe publique EndPostDeploymentScriptStep A step in the deployment plan that represents script deployment at the end of post-deployment. This class is for read-only purpose and cannot be instantiated.
Classe publique EndPreDeploymentScriptStep A step in the deployment plan that represents script deployment at the end of pre-deployment. This class is for read-only purpose and cannot be instantiated.
Classe publique ExportBuildContributorAttribute Represents the concrete classes implementing BuildContributor must add the ExportBuildContributorAttribute attribute to their class definition. This ensures they will be detected and available for use during build. BuildContributors require a unique ID which can be based on their fully qualified type name, or explicitly passed as a string.
Classe publique ExportDeploymentPlanExecutorAttribute Represents the concrete classes implementing DeploymentPlanExecutor must add the ExportDeploymentPlanExecutorAttribute attribute to their class definition. This ensures they will be detected and available for use during SQL Deployment. DeploymentPlanExecutors require a unique ID which can be based on their fully qualified type name, or explicitly passed as a string.
Classe publique ExportDeploymentPlanModifierAttribute Represents the concrete classes implementing DeploymentPlanModifier must add the ExportDeploymentPlanModifierAttribute attribute to their class definition. This ensures they will be detected and available for use during SQL Deployment. DeploymentPlanModifiers require a unique ID which can be based on their fully qualified type name, or explicitly passed as a string.
Classe publique ModelComparisonChangeDefinition Contains change details for a TSqlObject. Including changed properties, added/dropped/ordinal changed relationship entries, added/dropped/changed/ordinal changed composing children and added/dropped/changed/ordinal changed hierarchical children.
Classe publique ModelComparisonResult SchemaModel compare result. Contains same elements list, elements needed to add to target list, elements needed to drop in target list, and changed elements list.
Classe publique SqlBeginAltersStep Instances of this class mark the portion of the deployment plan where ALTERs (and CREATEs) are performed. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlBeginDropsStep An instance of this class marks the beginning of the "drops" portion of the deployment plan. Drops occur in the plan before Alters. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlBeginPreservationStep This class marks the start (in a deployment plan) of the preservation of intent section of the plan. These operations are ones taken to affect refactoring changes. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlBeginTransactionStep This step marks the beginning of the transactional section of a deployment plan. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlChangeDatabaseStep The step in deployment step that represents change database. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlCreateDatabaseStep The step in deployment that represents database creation. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlCreateTrackingTableStep The step in deployment that represents the creation of the tracking table (__ScriptTrackingLogs). This table is used to improve the reliability of deployment to SQL Azure. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlDeploymentOptions Contains deployment options values used for deployment
Classe publique SqlDropDatabaseStep The step in deployment that represents database drop. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlDropTrackingTableStep The step in deployment that represents drop of the tracking table (__ScriptTrackingLogs). This class is for read-only purpose and cannot be instantiated.
Classe publique SqlEndAltersStep Instances of this class mark the portion of the deployment plan where ALTERs (and CREATEs) are completed. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlEndDropsStep An instance of this class marks the end of the "drops" portion of the deployment plan. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlEndPreservationStep This class marks the end (in a deployment plan) of the preservation of intent section of the plan. These operations are ones taken to affect refactoring changes. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlEndTransactionStep This step marks the end of the transactional section of a deployment script. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlFinalizeDatabaseAccessStep This step is represents a step in the SQL deployment plan that finalizes the access settings to the database. These settings include Read-Only or Read-Write access, restricted, single user or multi-user, and online versus offline. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlMoveSchemaStep In the deployment plan, instances of this step represent moving the element from a previous schema to the new one. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlPrintStep A type of step in a Sql deployment plan that signifies a SQL "print" statement. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlRenameStep Represents a step in the deployment plan that renames a element. This class is for read-only purpose and cannot be instantiated.
Classe publique SqlTableMigrationStep Represents a data motion step in a sql deployment plan. This class is for read-only purpose and cannot be instantiated.