Clase DacExtractionUnit
The DacExtractionUnit class contains the information that must be extracted to a DAC type, such as server graphs and miscellaneous files.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Dac..::..DacExtractionUnit
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Class DacExtractionUnit
'Uso
Dim instance As DacExtractionUnit
public class DacExtractionUnit
public ref class DacExtractionUnit
type DacExtractionUnit = class end
public class DacExtractionUnit
El tipo DacExtractionUnit expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
DacExtractionUnit(Server, String) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Motor de base de datos and the specified database to be extracted. | |
DacExtractionUnit(Server, String, String, Version) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Motor de base de datos and the specified database to be extracted, along with the type name and version to be applied. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Extract | 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 | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de 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 | (Se hereda de Object.) | |
ValidateDatabaseObjects | Returns the result of validating the database that is being extracted to DAC. |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
DatabaseObjectValidated | Indicates that the Database object has been validated. |
Arriba
Comentarios
Using the DacExtractionUnit class, you can:
Validate the database objects.
Extract objects into the DAC type.
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.