Partager via


Classe DacDeployOptions

Defines options that affect the behavior of package deployment to a database.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dac.DacDeployOptions

Espace de noms :  Microsoft.SqlServer.Dac
Assembly :  Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)

Syntaxe

'Déclaration
Public NotInheritable Class DacDeployOptions
'Utilisation
Dim instance As DacDeployOptions
public sealed class DacDeployOptions
public ref class DacDeployOptions sealed
[<SealedAttribute>]
type DacDeployOptions =  class end
public final class DacDeployOptions

Le type DacDeployOptions expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DacDeployOptions Create a new instance of the DacDeployOptions class with default options.

Haut de la page

Propriétés

  Nom Description
Propriété publique AdditionalDeploymentContributorArguments Specifies additional deployment contributor arguments in addition to those already listed in the dacpac.
Propriété publique AdditionalDeploymentContributors Specifies additional deployment contributors which should run - in addition to those specified in the dacpac.
Propriété publique AllowDropBlockingAssemblies Get or set boolean that specifies whether CLR deployment will cause blocking assemblies to be dropped.
Propriété publique AllowIncompatiblePlatform Get or set boolean that specifies whether deployment will block due to platform compatibility.
Propriété publique BackupDatabaseBeforeChanges Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.
Propriété publique BlockOnPossibleDataLoss Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
Propriété publique BlockWhenDriftDetected Get or set boolean that specifies whether the system will check for differences between the present state of the database and the registered state of the database and block deployment if changes are detected. Even if this option is set to true, drift detection will only occur on a database if it was previously deployed with the RegisterDataTierApplication option enabled.
Propriété publique CommentOutSetVarDeclarations Get or set boolean that specifies whether the declaration of SQLCMD variables are commented out in the script header.
Propriété publique CompareUsingTargetCollation Get or set boolean that specifies whether the source collation will be used for identifier comparison.
Propriété publique CreateNewDatabase Get or set boolean that specifies whether the existing database will be dropped and a new database created before proceeding with the actual deployment actions. Acquires single-user mode before dropping the existing database.
Propriété publique DeployDatabaseInSingleUserMode Get or set boolean that specifies whether the system will acquire single-user mode on the target database during the duration of the deployment operation.
Propriété publique DisableAndReenableDdlTriggers Get or set boolean that specifies if all DDL triggers will be disabled for the duration of the deployment operation and then re-enabled after all changes are applied.
Propriété publique DoNotAlterChangeDataCaptureObjects Get or set boolean that specifies whether items configured for Change Data Capture (CDC) should be altered during deployment.
Propriété publique DoNotAlterReplicatedObjects Get or set boolean that specifies whether items configured for Replication should be altered during deployment.
Propriété publique DropConstraintsNotInSource Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.
Propriété publique DropDmlTriggersNotInSource Get or set boolean that specifies whether to drop all DML triggers that do not exist in the source model.
Propriété publique DropExtendedPropertiesNotInSource Get or set boolean that specifies whether to drop all extended properties that do not exist in the source model.
Propriété publique DropIndexesNotInSource Get or set boolean that specifies whether to drop all indexes that do not exist in the source model.
Propriété publique DropObjectsNotInSource Get or set boolean that specifies whether objects that exist in the target but not source should be dropped during deployment.
Propriété publique DropPermissionsNotInSource Get or set boolean that specifies whether to drop all permissions that do not exist in the source model.
Propriété publique DropRoleMembersNotInSource Get or set boolean that specifies whether to drop all role memberships that do not exist in the source model.
Propriété publique GenerateSmartDefaults Get or set boolean that specifies whether default values should be generated to populate NULL columns that are constrained to NOT NULL values.
Propriété publique IgnoreAnsiNulls Get or set boolean that specifies whether to exclude the ANSI_NULL option from consideration when comparing the source and target model.
Propriété publique IgnoreAuthorizer Get or set boolean that specifies whether to exclude the AUTHORIZATION option from consideration when comparing the source and target model.
Propriété publique IgnoreColumnCollation Get or set boolean that specifies whether to exclude the collation specifier from consideration when comparing the source and target model.
Propriété publique IgnoreComments Get or set boolean that specifies whether to exclude comments from consideration when comparing the source and target model.
Propriété publique IgnoreCryptographicProviderFilePath Get or set boolean that specifies whether to exclude the file specification of a cryptographic provider from consideration when comparing the source and target model.
Propriété publique IgnoreDdlTriggerOrder Get or set boolean that specifies whether to exclude DDL trigger order from consideration when comparing the source and target model.
Propriété publique IgnoreDdlTriggerState Get or set boolean that specifies whether to exclude DDL trigger state from consideration when comparing the source and target model.
Propriété publique IgnoreDefaultSchema Get or set boolean that specifies whether to exclude the DEFAULT_SCHEMA option from consideration when comparing the source and target model.
Propriété publique IgnoreDmlTriggerOrder Get or set boolean that specifies whether to exclude DML trigger order from consideration when comparing the source and target model.
Propriété publique IgnoreDmlTriggerState Get or set boolean that specifies whether to exclude DML trigger state from consideration when comparing the source and target model.
Propriété publique IgnoreExtendedProperties Get or set boolean that specifies whether to exclude all extended properties from consideration when comparing the source and target model.
Propriété publique IgnoreFileAndLogFilePath Get or set boolean that specifies whether to exclude the FILENAME option of FILE objects from consideration when comparing the source and target model.
Propriété publique IgnoreFilegroupPlacement Get or set boolean that specifies whether to exclude the filegroup specifier from consideration when comparing the source and target model.
Propriété publique IgnoreFileSize Get or set boolean that specifies whether to exclude the SIZE option of FILE objects from consideration when comparing the source and target model.
Propriété publique IgnoreFillFactor Get or set boolean that specifies whether to exclude the FILLFACTOR option from consideration when comparing the source and target model.
Propriété publique IgnoreFullTextCatalogFilePath Get or set boolean that specifies whether to exclude the path specification of FULLTEXT CATALOG objects from consideration when comparing the source and target model.
Propriété publique IgnoreIdentitySeed Get or set boolean that specifies whether to exclude the seed value of IDENTITY columns from consideration when comparing the source and target model.
Propriété publique IgnoreIncrement Get or set boolean that specifies whether to exclude the increment value of IDENTITY columns from consideration when comparing the source and target model.
Propriété publique IgnoreIndexOptions Get or set boolean that specifies whether to exclude differences in index options from consideration when comparing the source and target model.
Propriété publique IgnoreIndexPadding Get or set boolean that specifies whether to exclude the PAD_INDEX option from consideration when comparing the source and target model.
Propriété publique IgnoreKeywordCasing Get or set boolean that specifies whether to exclude difference in the casing of keywords from consideration when comparing the source and target model.
Propriété publique IgnoreLockHintsOnIndexes Get or set boolean that specifies whether to exclude the ALLOW_ROW_LOCKS and ALLOW_PAGE_LOGKS options from consideration when comparing the source and target model.
Propriété publique IgnoreLoginSids Get or set boolean that specifies whether to exclude the SID option of the LOGIN object from consideration when comparing the source and target model.
Propriété publique IgnoreNotForReplication Get or set boolean that specifies whether to exclude the NOT FOR REPLICATION option from consideration when comparing the source and target model.
Propriété publique IgnoreObjectPlacementOnPartitionScheme Get or set boolean that specifies whether to exclude the partition scheme object from consideration when comparing the source and target model for the following objects: Table, Index, Unique Key, Primary Key, and Queue.
Propriété publique IgnorePartitionSchemes Get or set boolean that specifies whether to exclude the parameter type and boundary VALUES of a PARTITION FUNCTION from consideration when comparing the source and target model. Also excludes FILEGROUP and partition function of a PARTITION SCHEMA from consideration when comparing the source and target model.
Propriété publique IgnorePermissions Get or set boolean that specifies whether to exclude all permission statements from consideration when comparing the source and target model.
Propriété publique IgnoreQuotedIdentifiers Get or set boolean that specifies whether to exclude the QUOTED_IDENTIFIER option from consideration when comparing the source and target model.
Propriété publique IgnoreRoleMembership Get or set boolean that specifies whether to exclude all ROLE MEMBERSHIP objects from consideration when comparing the source and target model.
Propriété publique IgnoreRouteLifetime Get or set boolean that specifies whether to exclude the LIFETIME option of ROUTE objects from consideration when comparing the source and target model.
Propriété publique IgnoreSemicolonBetweenStatements Get or set boolean that specifies whether to exclude the existence or absence of semi-colons from consideration when comparing the source and target model.
Propriété publique IgnoreTableOptions Get or set boolean that specifies whether the options on the target table are updated to match the source table.
Propriété publique IgnoreUserSettingsObjects Get or set boolean that specifies whether to exclude user settings from consideration when comparing the source and target model.
Propriété publique IgnoreWhitespace Get or set boolean that specifies whether to exclude whitespace from consideration when comparing the source and target model.
Propriété publique IgnoreWithNocheckOnCheckConstraints Get or set boolean that specifies whether to exclude the CHECK|NO CHECK option of a CHECK constraint object from consideration when comparing the source and target model.
Propriété publique IgnoreWithNocheckOnForeignKeys Get or set boolean that specifies whether to exclude the CHECK|NO CHECK option of a FOREIGN KEY constraint object from consideration when comparing the source and target model.
Propriété publique IncludeCompositeObjects Get or set boolean that specifies whether to include referenced, external elements that also compose the source model and then update the target database in a single deployment operation.
Propriété publique IncludeTransactionalScripts Get or set boolean that specifies whether to use transations during the deployment operation and commit the transaction after all changes are successfully applied.
Propriété publique NoAlterStatementsToChangeClrTypes Get or set boolean that specifies whether to force a change to CLR assemblies by dropping and recreating them.
Propriété publique PopulateFilesOnFileGroups Get or set boolean that specifies whether files are supplied for filegroups defined in the deployment source.
Propriété publique RegisterDataTierApplication Get or set boolean that specifies whether the database will be registered as a Data-Tier Application. If the target database is already a registered Data-Tier Application, then the registration will be updated.
Propriété publique RunDeploymentPlanExecutors Specifies whether DeploymentPlanExecutor contributors should be run when other operations are executed. Default is false.
Propriété publique ScriptDatabaseCollation Get or set boolean that specifies whether the target database should be altered to match the source model's collation.
Propriété publique ScriptDatabaseCompatibility Get or set boolean that specifies whether the target database should be altered to match the source model's compatibility level.
Propriété publique ScriptDatabaseOptions Get or set boolean that specifies whether the database options in the target database should be updated to match the source model.
Propriété publique ScriptDeployStateChecks Get or set boolean that specifies whether the target database should be checked to ensure that it exists, is online and can be updated.
Propriété publique ScriptFileSize Get or set boolean that specifies whether a file size is specified when adding files to file groups.
Propriété publique ScriptNewConstraintValidation Get or set boolean that specifies whether constraints are validated after all changes are applied.
Propriété publique ScriptRefreshModule Get or set boolean that specifies whether referencing procedures are refreshed when referenced objects are updated.
Propriété publique SqlCommandVariableValues Get dictionary of SQL command variable values, keyed by variable name.
Propriété publique TreatVerificationErrorsAsWarnings Get or set boolean that specifies whether the deployment operation should proceed when errors are generated during plan verification.
Propriété publique UnmodifiableObjectWarnings Get or set boolean that specifies whether the deployment operation should proceed when errors are generated during plan verification.
Propriété publique VerifyCollationCompatibility Get or set boolean that specifies whether deployment will verify that the collation specified in the source model is compatible with the collation specified in the target model.
Propriété publique VerifyDeployment Get or set boolean that specifies whether the plan verification phase is executed or not.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac