Unmanage 方法
刪除 DAC 執行個體,而不會影響與執行個體相關聯的資料庫。
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
Public Sub Unmanage ( _
instanceName As String _
)
'用途
Dim instance As DacStore
Dim instanceName As String
instance.Unmanage(instanceName)
public void Unmanage(
string instanceName
)
public:
void Unmanage(
String^ instanceName
)
member Unmanage :
instanceName:string -> unit
public function Unmanage(
instanceName : String
)
參數
- instanceName
型別:System. . :: . .String
String 值,指定要刪除之 DAC 執行個體的名稱。
備註
The operation of this method is the same as that of the Uninstall method when MakeUnmanaged is specified for the DacUninstallMode parameter.