DacExtractionUnit Class
The DacExtractionUnit class contains the information that must be extracted to a DAC type, such as server graphs and miscellaneous files.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
The DacExtractionUnit type exposes the following members.
| Name | Description | |
|---|---|---|
|
DacExtractionUnit(Server, String) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Database Engine and the specified database to be extracted. |
|
DacExtractionUnit(ServerConnection, String) | Specifies a new instance of the DacExtractionUnit class with specified server connection and database name. |
|
DacExtractionUnit(Server, String, String, Version) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Database Engine and the specified database to be extracted, along with the type name and version to be applied. |
| Name | Description | |
|---|---|---|
|
Description | Gets or sets the description of the DAC package. |
|
ExtractionObjectsCount | Gets the number of objects affected by the extraction. |
|
MiscellaneousFiles | Gets or sets the collection of miscellaneous files associated with the DAC type. |
|
TargetSelectionPolicy | Gets or sets the server selection policy placed in the DAC type. |
|
TypeName | Gets or sets the name of the DAC type. |
|
Version | Gets or sets the DAC type version. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Extract(Stream) | Extracts the object definitions from the database. |
|
Extract(String) | Extracts the object defintions from the database, compiles them into a DAC type in a DAC package, and then returns the result of the extraction. |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Register | Extracts the object definitions from the database, compiles them into a DAC type, registers the type in a DAC instance, and then returns the result of the registration. |
|
ToString | (Inherited from Object.) |
|
ValidateDatabaseObjects | Returns the result of validating the database that is being extracted to DAC. |