共用方式為


Install 方法 (DacType)

使用指定的 DacType 物件,在由 DacStore 物件代表的 Database Engine 執行個體中建立 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 物件。