Export (0) Print
Expand All

DacDeployOptions Class

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

Object
  Microsoft.SqlServer.Dac.DacDeployOptions

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

public sealed class DacDeployOptions

The DacDeployOptions type exposes the following members.

  NameDescription
Public methodDacDeployOptions Create a new instance of the DacDeployOptions class with default options.
Top

  NameDescription
Public propertyAdditionalDeploymentContributorArgumentsSpecifies additional deployment contributor arguments in addition to those already listed in the dacpac.
Public propertyAdditionalDeploymentContributorsSpecifies additional deployment contributors which should run - in addition to those specified in the dacpac.
Public propertyAllowDropBlockingAssemblies Get or set boolean that specifies whether CLR deployment will cause blocking assemblies to be dropped.
Public propertyAllowIncompatiblePlatform Get or set boolean that specifies whether deployment will block due to platform compatibility.
Public propertyBackupDatabaseBeforeChanges Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.
Public propertyBlockOnPossibleDataLoss Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
Public propertyBlockWhenDriftDetected 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.
Public propertyCommentOutSetVarDeclarations Get or set boolean that specifies whether the declaration of SQLCMD variables are commented out in the script header.
Public propertyCompareUsingTargetCollation Get or set boolean that specifies whether the source collation will be used for identifier comparison.
Public propertyCreateNewDatabase 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.
Public propertyDeployDatabaseInSingleUserMode 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.
Public propertyDisableAndReenableDdlTriggers 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.
Public propertyDoNotAlterChangeDataCaptureObjects Get or set boolean that specifies whether items configured for Change Data Capture (CDC) should be altered during deployment.
Public propertyDoNotAlterReplicatedObjects Get or set boolean that specifies whether items configured for Replication should be altered during deployment.
Public propertyDropConstraintsNotInSource Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.
Public propertyDropDmlTriggersNotInSource Get or set boolean that specifies whether to drop all DML triggers that do not exist in the source model.
Public propertyDropExtendedPropertiesNotInSource Get or set boolean that specifies whether to drop all extended properties that do not exist in the source model.
Public propertyDropIndexesNotInSource Get or set boolean that specifies whether to drop all indexes that do not exist in the source model.
Public propertyDropObjectsNotInSource Get or set boolean that specifies whether objects that exist in the target but not source should be dropped during deployment.
Public propertyDropPermissionsNotInSource Get or set boolean that specifies whether to drop all permissions that do not exist in the source model.
Public propertyDropRoleMembersNotInSource Get or set boolean that specifies whether to drop all role memberships that do not exist in the source model.
Public propertyDropStatisticsNotInSourceGet or set boolean that specifies whether to drop all role memberships that do not exist in the source model.
Public propertyGenerateSmartDefaults Get or set boolean that specifies whether default values should be generated to populate NULL columns that are constrained to NOT NULL values.
Public propertyIgnoreAnsiNulls Get or set boolean that specifies whether to exclude the ANSI_NULL option from consideration when comparing the source and target model.
Public propertyIgnoreAuthorizer Get or set boolean that specifies whether to exclude the AUTHORIZATION option from consideration when comparing the source and target model.
Public propertyIgnoreColumnCollation Get or set boolean that specifies whether to exclude the collation specifier from consideration when comparing the source and target model.
Public propertyIgnoreComments Get or set boolean that specifies whether to exclude comments from consideration when comparing the source and target model.
Public propertyIgnoreCryptographicProviderFilePath 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.
Public propertyIgnoreDdlTriggerOrder Get or set boolean that specifies whether to exclude DDL trigger order from consideration when comparing the source and target model.
Public propertyIgnoreDdlTriggerState Get or set boolean that specifies whether to exclude DDL trigger state from consideration when comparing the source and target model.
Public propertyIgnoreDefaultSchema Get or set boolean that specifies whether to exclude the DEFAULT_SCHEMA option from consideration when comparing the source and target model.
Public propertyIgnoreDmlTriggerOrder Get or set boolean that specifies whether to exclude DML trigger order from consideration when comparing the source and target model.
Public propertyIgnoreDmlTriggerState Get or set boolean that specifies whether to exclude DML trigger state from consideration when comparing the source and target model.
Public propertyIgnoreExtendedProperties Get or set boolean that specifies whether to exclude all extended properties from consideration when comparing the source and target model.
Public propertyIgnoreFileAndLogFilePath Get or set boolean that specifies whether to exclude the FILENAME option of FILE objects from consideration when comparing the source and target model.
Public propertyIgnoreFilegroupPlacement Get or set boolean that specifies whether to exclude the filegroup specifier from consideration when comparing the source and target model.
Public propertyIgnoreFileSize Get or set boolean that specifies whether to exclude the SIZE option of FILE objects from consideration when comparing the source and target model.
Public propertyIgnoreFillFactor Get or set boolean that specifies whether to exclude the FILLFACTOR option from consideration when comparing the source and target model.
Public propertyIgnoreFullTextCatalogFilePath 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.
Public propertyIgnoreIdentitySeed Get or set boolean that specifies whether to exclude the seed value of IDENTITY columns from consideration when comparing the source and target model.
Public propertyIgnoreIncrement Get or set boolean that specifies whether to exclude the increment value of IDENTITY columns from consideration when comparing the source and target model.
Public propertyIgnoreIndexOptions Get or set boolean that specifies whether to exclude differences in index options from consideration when comparing the source and target model.
Public propertyIgnoreIndexPadding Get or set boolean that specifies whether to exclude the PAD_INDEX option from consideration when comparing the source and target model.
Public propertyIgnoreKeywordCasing Get or set boolean that specifies whether to exclude difference in the casing of keywords from consideration when comparing the source and target model.
Public propertyIgnoreLockHintsOnIndexes 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.
Public propertyIgnoreLoginSids 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.
Public propertyIgnoreNotForReplication Get or set boolean that specifies whether to exclude the NOT FOR REPLICATION option from consideration when comparing the source and target model.
Public propertyIgnoreObjectPlacementOnPartitionScheme 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.
Public propertyIgnorePartitionSchemes 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.
Public propertyIgnorePermissions Get or set boolean that specifies whether to exclude all permission statements from consideration when comparing the source and target model.
Public propertyIgnoreQuotedIdentifiers Get or set boolean that specifies whether to exclude the QUOTED_IDENTIFIER option from consideration when comparing the source and target model.
Public propertyIgnoreRoleMembership Get or set boolean that specifies whether to exclude all ROLE MEMBERSHIP objects from consideration when comparing the source and target model.
Public propertyIgnoreRouteLifetime Get or set boolean that specifies whether to exclude the LIFETIME option of ROUTE objects from consideration when comparing the source and target model.
Public propertyIgnoreSemicolonBetweenStatements 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.
Public propertyIgnoreTableOptions Get or set boolean that specifies whether the options on the target table are updated to match the source table.
Public propertyIgnoreUserSettingsObjects Get or set boolean that specifies whether to exclude user settings from consideration when comparing the source and target model.
Public propertyIgnoreWhitespace Get or set boolean that specifies whether to exclude whitespace from consideration when comparing the source and target model.
Public propertyIgnoreWithNocheckOnCheckConstraints 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.
Public propertyIgnoreWithNocheckOnForeignKeys 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.
Public propertyIncludeCompositeObjects 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.
Public propertyIncludeTransactionalScripts Get or set boolean that specifies whether to use transations during the deployment operation and commit the transaction after all changes are successfully applied.
Public propertyNoAlterStatementsToChangeClrTypes Get or set boolean that specifies whether to force a change to CLR assemblies by dropping and recreating them.
Public propertyPopulateFilesOnFileGroups Get or set boolean that specifies whether files are supplied for filegroups defined in the deployment source.
Public propertyRegisterDataTierApplication 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.
Public propertyRunDeploymentPlanExecutorsSpecifies whether DeploymentPlanExecutor contributors should be run when other operations are executed. Default is false.
Public propertyScriptDatabaseCollation Get or set boolean that specifies whether the target database should be altered to match the source model's collation.
Public propertyScriptDatabaseCompatibility Get or set boolean that specifies whether the target database should be altered to match the source model's compatibility level.
Public propertyScriptDatabaseOptions Get or set boolean that specifies whether the database options in the target database should be updated to match the source model.
Public propertyScriptDeployStateChecks Get or set boolean that specifies whether the target database should be checked to ensure that it exists, is online and can be updated.
Public propertyScriptFileSize Get or set boolean that specifies whether a file size is specified when adding files to file groups.
Public propertyScriptNewConstraintValidation Get or set boolean that specifies whether constraints are validated after all changes are applied.
Public propertyScriptRefreshModule Get or set boolean that specifies whether referencing procedures are refreshed when referenced objects are updated.
Public propertySqlCommandVariableValues Get dictionary of SQL command variable values, keyed by variable name.
Public propertyTreatVerificationErrorsAsWarnings Get or set boolean that specifies whether the deployment operation should proceed when errors are generated during plan verification.
Public propertyUnmodifiableObjectWarnings Get or set boolean that specifies whether the deployment operation should proceed when errors are generated during plan verification.
Public propertyVerifyCollationCompatibility 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.
Public propertyVerifyDeployment Get or set boolean that specifies whether the plan verification phase is executed or not.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft