共用方式為


Uninstall 方法

從與 DacStore 相關聯的 Database Engine 執行個體,刪除指定的 DAC 執行個體。

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public Sub Uninstall ( _
    instanceName As String, _
    uninstallMode As DacUninstallMode _
)
'用途
Dim instance As DacStore
Dim instanceName As String
Dim uninstallMode As DacUninstallMode

instance.Uninstall(instanceName, uninstallMode)
public void Uninstall(
    string instanceName,
    DacUninstallMode uninstallMode
)
public:
void Uninstall(
    String^ instanceName, 
    DacUninstallMode uninstallMode
)
member Uninstall : 
        instanceName:string * 
        uninstallMode:DacUninstallMode -> unit 
public function Uninstall(
    instanceName : String, 
    uninstallMode : DacUninstallMode
)

參數