This topic has not yet been rated - Rate this topic

DacServices Class

SQL Server 2012

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

System.Object
  Microsoft.SqlServer.Dac.DacServices

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
[<>]
type DacServices =  class end

The DacServices type exposes the following members.

  NameDescription
Public methodDacServices Creates a new instance of the DacServices class that operates against the database specified by the supplied connection string.
Top
  NameDescription
Public methodDeploy Deploys the supplied package to a database.
Public methodEquals (Inherited from Object.)
Public methodExportBacpac(Stream, String, IEnumerable(Tuple(T1, T2)), Boolean)Exports a package containing the schema and table data of a database.
Public methodExportBacpac(String, String, IEnumerable(Tuple(T1, T2)), Boolean)Exports a package containing the schema and table data of a database.
Public methodExportBacpac(Stream, String, DacSchemaModelStorageType, IEnumerable(Tuple(T1, T2)), Boolean)Exports a package containing the schema and table data of a database.
Public methodExportBacpac(String, String, DacSchemaModelStorageType, IEnumerable(Tuple(T1, T2)), Boolean)Exports a package containing the schema and table data of a database.
Public methodExtract(Stream, String, String, Version, String, IEnumerable(Tuple(T1, T2)), Boolean, String)Extracts a package containing the schema of a database.
Public methodExtract(String, String, String, Version, String, IEnumerable(Tuple(T1, T2)), Boolean, String)Extracts a package containing the schema of a database.
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGenerateCreateScript(DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.
Public methodStatic memberGenerateCreateScript(Stream, DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.
Public methodStatic memberGenerateDeployReport(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.
Public methodGenerateDeployReport(DacPackage, String, DacDeployOptions, Nullable(CancellationToken)) Creates an XML report of the steps needed to deploy the schema of the supplied DacPackage to a database.
Public methodStatic memberGenerateDeployReport(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.
Public methodStatic memberGenerateDeployScript(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.
Public methodGenerateDeployScript(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.
Public methodStatic memberGenerateDeployScript(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.
Public methodGenerateDriftReport(String, Nullable(CancellationToken)) Creates an XML report of the drift that has occurred since the database was last registered.
Public methodGenerateDriftReport(String, DacSchemaModelStorageType, Nullable(CancellationToken))Creates an XML report of the drift that has occurred since the database was last registered.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodImportBacpac Deploys schema and import table data from the supplied package to a database.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRegister(String, String, Version, String) Adds DAC registration information for the specified target database.
Public methodRegister(String, DacSchemaModelStorageType, String, Version, String)Adds DAC registration information for the specified target database.
Public methodToString (Inherited from Object.)
Public methodUnregister Removes DAC registration information for the specified target database.
Top
  NameDescription
Public eventMessage Invoked when an operation reports status updates or errors.
Public eventProgressChanged Invoked when the state of an operation changes.
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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.