Share via


Microsoft.SqlServer.Dac 命名空间

This namespace provides classes you can use in your code to perform operations on DACPAC and BACPAC packages.  These packages can be extracted and exported from existing databases or used to deploy and import new databases. DAPCAC packages can also be used to upgrade an existing database.

See also 了解数据层应用程序.

  说明
公共类 BacPackage Representation of the artifact that contains the definition and data of a data-tier application.
公共类 DacAzureDatabaseSpecification Defines optional parameters specific to a Windows Azure SQL Database.
公共类 DacDataProgressMessage Data associated with an executing data operation to report status updates or errors related to progress.
公共类 DacDeployOptions Defines options that affect the behavior of package deployment to a database.
公共类 DacExceptionMessage Data associated with an error with exception information.
公共类 DacExtractOptions Defines options that affect the behavior of package extraction.
公共类 DacMessage Data associated with an executing operation to report status updates or errors.
公共类 DacMessageEventArgs Data associated with event raised as an executing operation reports status updates or errors.
公共类 DacOperationProgressMessage Progress message associated with the overall progress of a DAC operation.
公共类 DacPackage Representation of the artifact that contains the definition of a data-tier application.
公共类 DacPackageExtensions 提供支持 DacPackage 对象操作的方法。这些方法可处理现有 DacPackage
公共类 DacProfile Contains settings related to a specific deployment configuration.
公共类 DacProgressEventArgs Data associated with event raised as an executing operation completes individual steps of processing.
公共类 DacRetryMessage Indicates that the DacFX API retried a command or connection due to a transient error returned by the server.
公共类 DacServices Provides operations to create and consume DAC packages represented by DacPackage instances.
公共类 DacServicesException Exception thrown for DAC service errors.
公共类 PackageMetadata Metadata information that describes a package.
公共类 PackageOptions Defines advanced options and additional artifacts for package creation.

枚举

  枚举 说明
公共枚举 DacAzureEdition List of possible editions for a Windows Azure SQL Database.
公共枚举 DacMessageType Specifies the type (or severity) of message associated with a given event.
公共枚举 DacOperationStatus Specifies the state of a service operation.
公共枚举 DacSchemaModelStorageType Specifies the type of backing storage for a schema model.