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
)

参数

注释

The operation of this method is the same as that of the Uninstall method when MakeUnmanaged is specified for the DacUninstallMode parameter.