DacExtractionUnit 构造函数 (Server, String, String, Version)
Initializes a new instance of the DacExtractionUnit class that has the specified instance of the 数据库引擎 and the specified database to be extracted, along with the type name and version to be applied.
命名空间: Microsoft.SqlServer.Management.Dac
程序集: Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)
语法
声明
Public Sub New ( _
server As Server, _
databaseName As String, _
typeName As String, _
version As Version _
)
用法
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
)
参数
- server
类型:Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server value that specifies the instance of the Database Engine that contains the database.
- databaseName
类型:System. . :: . .String
A String value that specifies the name of the database.
- typeName
类型:System. . :: . .String
A String value that specifies the name of the DAC type.
- version
类型:System. . :: . .Version
A String value that specifies the version of the DAC type.
注释
A DAC type is uniquely identified by the combination of the type name and version.