DacStore.Uninstall Method
Deletes the specified DAC instance from the instance of the Database Engine associated with the DacStore.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Sub Uninstall ( _
instanceName As String, _
uninstallMode As DacUninstallMode _
)
'Usage
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
)
Parameters
- instanceName
Type: String
A String value specifying the name of the DAC instance to delete.
- uninstallMode
Type: Microsoft.SqlServer.Management.Dac.DacUninstallMode
A DacUninstallMode value that specifies the action to take for the database associated with the DAC instance.