DacExtractionUnit.Extract Method ()
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.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
'Declaration
Public Function Extract ( _
dacPackageFilePath As String _
) As DacExtractValidationResult
'Usage
Dim instance As DacExtractionUnit
Dim dacPackageFilePath As String
Dim returnValue As DacExtractValidationResult
returnValue = instance.Extract(dacPackageFilePath)
public DacExtractValidationResult Extract(
string dacPackageFilePath
)
public:
DacExtractValidationResult^ Extract(
String^ dacPackageFilePath
)
member Extract :
dacPackageFilePath:string -> DacExtractValidationResult
public function Extract(
dacPackageFilePath : String
) : DacExtractValidationResult
- dacPackageFilePath
Type: String
A String value specifying the path to the folder for the extracted DAC package file.
Type: Microsoft.SqlServer.Management.Dac.DacExtractValidationResult
A DacExtractValidationResult value that contains information about the result of extracting a DAC type from the database.