Partager via


DacExtractionUnit Constructor (Server, , , )

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.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Déclaration
Public Sub New ( _
    server As Server, _
    databaseName As String, _
    typeName As String, _
    version As Version _
)
'Utilisation
Dim server As Server
Dim databaseName As String
Dim typeName As String
Dim version As Version

Dim instance As New DacExtractionUnit(server, _
    databaseName, typeName, version)
public DacExtractionUnit(
    Server server,
    string databaseName,
    string typeName,
    Version version
)
public:
DacExtractionUnit(
    Server^ server, 
    String^ databaseName, 
    String^ typeName, 
    Version^ version
)
new : 
        server:Server * 
        databaseName:string * 
        typeName:string * 
        version:Version -> DacExtractionUnit
public function DacExtractionUnit(
    server : Server, 
    databaseName : String, 
    typeName : String, 
    version : Version
)

Parameters

  • databaseName
    Type: String
    A String value that specifies the name of the database.
  • typeName
    Type: String
    A String value that specifies the name of the DAC type.
  • version
    Type: Version
    A String value that specifies the version of the DAC type.

Remarks

A DAC type is uniquely identified by the combination of the type name and version.

See Also

Reference

DacExtractionUnit Class

DacExtractionUnit Overload

Microsoft.SqlServer.Management.Dac Namespace