Install 方法 (DacType)

使用指定的 DacType 对象在由 DacStore 对象表示的数据库引擎实例中创建 DAC 实例。

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Function Install ( _
    dacType As DacType _
) As DacInstance
用法
Dim instance As DacStore
Dim dacType As DacType
Dim returnValue As DacInstance

returnValue = instance.Install(dacType)
public DacInstance Install(
    DacType dacType
)
public:
DacInstance^ Install(
    DacType^ dacType
)
member Install : 
        dacType:DacType -> DacInstance 
public function Install(
    dacType : DacType
) : DacInstance

参数

返回值

类型:Microsoft.SqlServer.Management.Dac. . :: . .DacInstance
一个用于新创建的 DAC 实例的 DacInstance 对象。