Класс DacExtractionUnit
The DacExtractionUnit class contains the information that must be extracted to a DAC type, such as server graphs and miscellaneous files.
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Dac..::..DacExtractionUnit
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
Public Class DacExtractionUnit
'Применение
Dim instance As DacExtractionUnit
public class DacExtractionUnit
public ref class DacExtractionUnit
type DacExtractionUnit = class end
public class DacExtractionUnit
Тип DacExtractionUnit обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
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(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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
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. |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от 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 | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от 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 | (Производный от Object.) |
![]() |
ValidateDatabaseObjects | Returns the result of validating the database that is being extracted to DAC. |
В начало
События
Имя | Описание | |
---|---|---|
![]() |
DatabaseObjectValidated | Indicates that the Database object has been validated. |
В начало
Замечания
Using the DacExtractionUnit class, you can:
Validate the database objects.
Extract objects into the DAC type.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.