DacExtractionUnit Constructor (Server, String)
Initializes a new instance of the DacExtractionUnit class that has the specified instance of the Motor de base de datos and the specified database to be extracted.
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Sub New ( _
server As Server, _
databaseName As String _
)
'Uso
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
)
Parámetros
- server
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server value that specifies the instance of the Database Engine that contains the database.
- databaseName
Tipo: System. . :: . .String
A String value that specifies the name of the database.