Share via


DacServices 클래스

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

상속 계층

System.Object
  Microsoft.SqlServer.Dac.DacServices

네임스페이스:  Microsoft.SqlServer.Dac
어셈블리:  Microsoft.SqlServer.Dac(Microsoft.SqlServer.Dac.dll)

구문

‘선언
Public NotInheritable Class DacServices
‘사용 방법
Dim instance As DacServices
public sealed class DacServices
public ref class DacServices sealed
[<SealedAttribute>]
type DacServices =  class end
public final class DacServices

DacServices 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 DacServices Initializes a new instance of the DacServices class that operates against the database specified by the supplied connection string.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Deploy Deploys the supplied package to a database.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 ExportBacpac(Stream, String, IEnumerable<Tuple<String, String>>, Nullable<CancellationToken>) Extracts schema and export data from a database into a "bacpac" package.
공용 메서드 ExportBacpac(String, String, IEnumerable<Tuple<String, String>>, Nullable<CancellationToken>) Extracts schema and export data from a database into a "bacpac" package.
공용 메서드 ExportBacpac(Stream, String, DacSchemaModelStorageType, IEnumerable<Tuple<String, String>>, Nullable<CancellationToken>) Extracts schema and export data from a database into a "bacpac" package.
공용 메서드 ExportBacpac(String, String, DacSchemaModelStorageType, IEnumerable<Tuple<String, String>>, Nullable<CancellationToken>) Extracts schema and export data from a database into a "bacpac" package.
공용 메서드 Extract(Stream, String, String, Version, String, IEnumerable<Tuple<String, String>>, DacExtractOptions, Nullable<CancellationToken>) Extracts the schema from a database into a package.
공용 메서드 Extract(String, String, String, Version, String, IEnumerable<Tuple<String, String>>, DacExtractOptions, Nullable<CancellationToken>) Extracts the schema from a database into a package.
공용 메서드정적 멤버 GenerateCreateScript(DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.
공용 메서드정적 멤버 GenerateCreateScript(Stream, DacPackage, String, DacDeployOptions) Creates a Transact-SQL script that can be used to deploy the schema of the supplied DacPackage to a database.
공용 메서드정적 멤버 GenerateDeployReport(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.
공용 메서드 GenerateDeployReport(DacPackage, String, DacDeployOptions, Nullable<CancellationToken>) Creates an XML report of the steps needed to deploy the schema of the supplied DacPackage to a database.
공용 메서드정적 멤버 GenerateDeployReport(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.
공용 메서드정적 멤버 GenerateDeployScript(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.
공용 메서드 GenerateDeployScript(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.
공용 메서드정적 멤버 GenerateDeployScript(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.
공용 메서드 GenerateDriftReport(String, Nullable<CancellationToken>) Creates an XML report of the drift that has occurred since the database was last registered.
공용 메서드 GenerateDriftReport(String, DacSchemaModelStorageType, Nullable<CancellationToken>) Creates an XML report of the drift that has occurred since the database was last registered.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ImportBacpac(BacPackage, String, Nullable<CancellationToken>) Deploys schema and import table data from the supplied package to a database.
공용 메서드 ImportBacpac(BacPackage, String, DacAzureDatabaseSpecification, Nullable<CancellationToken>) Deploys schema and import table data from the supplied package to a database.
공용 메서드 Register(String, String, Version, String) Adds DAC registration information for the specified target database.
공용 메서드 Register(String, DacSchemaModelStorageType, String, Version, String) Adds DAC registration information for the specified target database.
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Unregister Removes DAC registration information for the specified target database.

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 Message Invoked when an operation reports status updates or errors.
공용 이벤트 ProgressChanged Invoked when the state of an operation changes.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dac 네임스페이스