Removes DAC registration information for the specified target database.
命名空間: Microsoft.SqlServer.Dac
組件: Microsoft.SqlServer.Dac (在 Microsoft.SqlServer.Dac.dll 中)
語法
'宣告
Public Sub Unregister ( _
targetDatabaseName As String _
)
'用途
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
)
參數
- targetDatabaseName
型別:System.String
Name of the database for which to remove registration information.
例外狀況
| 例外狀況 | 條件 |
|---|---|
| ArgumentException | targetDatabaseName |