DacServices Class

 

Updated: April 20, 2017

Provides operations to create and consume DAC packages represented by DacPackage instances.

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

System::Object
  Microsoft.SqlServer.Dac::DacServices

public ref class DacServices sealed 

NameDescription
System_CAPS_pubmethodDacServices(String^)

Initializes a new instance of the DacServices class that operates against the database specified by the supplied connection string.

System_CAPS_pubmethodDacServices(String^, IUniversalAuthProvider^)

System_CAPS_pubmethodDacServices(String^, SecureString^)

NameDescription
System_CAPS_pubmethodDeploy(DacPackage^, String^, Boolean, DacDeployOptions^, Nullable<CancellationToken>)

Deploys the supplied package to a database.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExportBacpac(Stream^, String^, DacExportOptions^, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extract schema and export data from a database into a "bacpac" package.

System_CAPS_pubmethodExportBacpac(Stream^, String^, DacSchemaModelStorageType, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extracts schema and exports data from a database into a "bacpac" package.

System_CAPS_pubmethodExportBacpac(Stream^, String^, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extracts schema and exports data from a database into a "bacpac" package.

System_CAPS_pubmethodExportBacpac(String^, String^, DacExportOptions^, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extract schema and export data from a database into a "bacpac" package.

System_CAPS_pubmethodExportBacpac(String^, String^, DacSchemaModelStorageType, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extracts schema and exports data from a database into a "bacpac" package.

System_CAPS_pubmethodExportBacpac(String^, String^, IEnumerable<Tuple<String^, String^>^>^, Nullable<CancellationToken>)

Extracts schema and exports data from a database into a "bacpac" package.

System_CAPS_pubmethodExtract(Stream^, String^, String^, Version^, String^, IEnumerable<Tuple<String^, String^>^>^, DacExtractOptions^, Nullable<CancellationToken>)

Extracts the schema from a database into a package.

System_CAPS_pubmethodExtract(String^, String^, String^, Version^, String^, IEnumerable<Tuple<String^, String^>^>^, DacExtractOptions^, Nullable<CancellationToken>)

Extracts the schema from a database into a package.

System_CAPS_pubmethodSystem_CAPS_staticGenerateCreateScript(DacPackage^, String^, DacDeployOptions^)

Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.

System_CAPS_pubmethodSystem_CAPS_staticGenerateCreateScript(Stream^, DacPackage^, String^, DacDeployOptions^)

Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.

System_CAPS_pubmethodSystem_CAPS_staticGenerateDeployReport(DacPackage^, DacPackage^, String^, DacDeployOptions^)

Creates an XML report of the steps needed to deploy the differences between the schemas of the supplied source and target DacPackage instances to a database.

System_CAPS_pubmethodGenerateDeployReport(DacPackage^, String^, DacDeployOptions^, Nullable<CancellationToken>)

Creates an XML report of the steps needed to deploy the schema of the supplied DacPackage to a database.

System_CAPS_pubmethodSystem_CAPS_staticGenerateDeployReport(Stream^, DacPackage^, DacPackage^, String^, DacDeployOptions^)

Creates an XML report of the steps needed to deploy the differences between the schemas of the supplied source and target DacPackage instances to a database.

System_CAPS_pubmethodSystem_CAPS_staticGenerateDeployScript(DacPackage^, DacPackage^, String^, DacDeployOptions^)

Creates a Transact-SQL script that can be used to deploy the differences between the schemas of the supplied source and target DacPackage instances to a database.

System_CAPS_pubmethodGenerateDeployScript(DacPackage^, String^, DacDeployOptions^, Nullable<CancellationToken>)

Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.

System_CAPS_pubmethodSystem_CAPS_staticGenerateDeployScript(Stream^, DacPackage^, DacPackage^, String^, DacDeployOptions^)

Creates a Transact-SQL script that can be used to deploy the differences between the schemas of the supplied source and target DacPackage instances to a database.

System_CAPS_pubmethodGenerateDriftReport(String^, DacSchemaModelStorageType, Nullable<CancellationToken>)

Creates an XML report of the drift that has occurred since the database was last registered.

System_CAPS_pubmethodGenerateDriftReport(String^, Nullable<CancellationToken>)

Creates an XML report of the drift that has occurred since the database was last registered.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodImportBacpac(BacPackage^, String^, DacAzureDatabaseSpecification^, Nullable<CancellationToken>)

Deploys schema and imports table data from the supplied package to a database.

System_CAPS_pubmethodImportBacpac(BacPackage^, String^, DacImportOptions^, Nullable<CancellationToken>)

Deploy schema and import table data from the supplied package to a database.

System_CAPS_pubmethodImportBacpac(BacPackage^, String^, Nullable<CancellationToken>)

Deploys schema and imports table data from the supplied package to a database.

System_CAPS_pubmethodPublish(DacPackage^, String^, PublishOptions^)

System_CAPS_pubmethodRegister(String^, DacSchemaModelStorageType, String^, Version^, String^)

Adds DAC registration information for the specified target database.

System_CAPS_pubmethodRegister(String^, String^, Version^, String^)

Adds DAC registration information for the specified target database.

System_CAPS_pubmethodSystem_CAPS_staticScript(DacPackage^, DacPackage^, String^, PublishOptions^)

System_CAPS_pubmethodScript(DacPackage^, String^, PublishOptions^)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(String^)

Removes DAC registration information for the specified target database.

NameDescription
System_CAPS_pubeventMessage

Invoked when an operation reports status updates or errors.

System_CAPS_pubeventProgressChanged

Invoked when the state of an operation changes.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: