Share via


DacStore.Unmanage Method

Deletes the a DAC instance without affecting the database associated with the instance.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub Unmanage ( _
    instanceName As String _
)
'Usage
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
)

Parameters

  • instanceName
    Type: System.String
    A String value specifying the name of the DAC instance to delete.

Remarks

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