Classe DacExtractionUnit
The DacExtractionUnit class contains the information that must be extracted to a DAC type, such as server graphs and miscellaneous files.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Dac..::..DacExtractionUnit
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
Public Class DacExtractionUnit
'Utilisation
Dim instance As DacExtractionUnit
public class DacExtractionUnit
public ref class DacExtractionUnit
type DacExtractionUnit = class end
public class DacExtractionUnit
Le type DacExtractionUnit expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
DacExtractionUnit(Server, String) | Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Moteur de base de données 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 Moteur de base de données and the specified database to be extracted, along with the type name and version to be applied. |
Haut de la page
Propriétés
Nom | 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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité 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 | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité 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 | (hérité de Object.) | |
ValidateDatabaseObjects | Returns the result of validating the database that is being extracted to DAC. |
Haut de la page
Événements
Nom | Description | |
---|---|---|
DatabaseObjectValidated | Indicates that the Database object has been validated. |
Haut de la page
Notes
Using the DacExtractionUnit class, you can:
Validate the database objects.
Extract objects into the DAC type.
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.