Classe DacExtractionUnit
The DacExtractionUnit class contains the information that must be extracted to a DAC type, such as server graphs and miscellaneous files.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Dac..::..DacExtractionUnit
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)
Sintaxe
'Declaração
Public Class DacExtractionUnit
'Uso
Dim instance As DacExtractionUnit
public class DacExtractionUnit
public ref class DacExtractionUnit
type DacExtractionUnit = class end
public class DacExtractionUnit
O tipo DacExtractionUnit expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DacExtractionUnit(Server, String) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Mecanismo de Banco de Dados 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 Mecanismo de Banco de Dados and the specified database to be extracted, along with the type name and version to be applied. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado 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 | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado 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 | (Herdado de Object.) | |
ValidateDatabaseObjects | Returns the result of validating the database that is being extracted to DAC. |
Início
Eventos
Nome | Descrição | |
---|---|---|
DatabaseObjectValidated | Indicates that the Database object has been validated. |
Início
Comentários
Using the DacExtractionUnit class, you can:
Validate the database objects.
Extract objects into the DAC type.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.