Auf Englisch lesen

Freigeben über


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)

Syntax

'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)

Parameters

  • dacPackageFilePath
    Type: String
    A String value specifying the path to the folder for the extracted DAC package file.

Return Value

Type: Microsoft.SqlServer.Management.Dac.DacExtractValidationResult
A DacExtractValidationResult value that contains information about the result of extracting a DAC type from the database.

See Also

Reference

DacExtractionUnit Class

Extract Overload

Microsoft.SqlServer.Management.Dac Namespace