DacExtractionUnit Constructor (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.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Sub New ( _
server As Server, _
databaseName As String _
)
'Usage
Dim server As Server
Dim databaseName As String
Dim instance As New DacExtractionUnit(server, _
databaseName)
public DacExtractionUnit(
Server server,
string databaseName
)
public:
DacExtractionUnit(
Server^ server,
String^ databaseName
)
new :
server:Server *
databaseName:string -> DacExtractionUnit
public function DacExtractionUnit(
server : Server,
databaseName : String
)
Parameters
- server
Type: Microsoft.SqlServer.Management.Smo.Server
A Server value that specifies the instance of the Database Engine that contains the database.
- databaseName
Type: System.String
A String value that specifies the name of the database.