Share via


DacServices.Unregister Method

Removes DAC registration information for the specified target database.

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

Syntax

'Declaration
Public Sub Unregister ( _
    targetDatabaseName As String _
)
'Usage
Dim instance As DacServices 
Dim targetDatabaseName As String

instance.Unregister(targetDatabaseName)
public void Unregister(
    string targetDatabaseName
)
public:
void Unregister(
    String^ targetDatabaseName
)
member Unregister : 
        targetDatabaseName:string -> unit
public function Unregister(
    targetDatabaseName : String
)

Parameters

  • targetDatabaseName
    Type: System.String
    Name of the database for which to remove registration information.

Exceptions

Exception Condition
ArgumentException

targetDatabaseName

See Also

Reference

DacServices Class

Microsoft.SqlServer.Dac Namespace