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
)
參數
- instanceName
型別:System. . :: . .String
String 值,指定要刪除之 DAC 執行個體的名稱。
- uninstallMode
型別:Microsoft.SqlServer.Management.Dac. . :: . .DacUninstallMode
DacUninstallMode 值,指定對 DAC 執行個體相關聯之資料庫所要採取的動作。