DatabaseActiveDirectory.Unregister Method

Removes the database from the Active Directory service register.

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

Syntax

'Declaration
Public Sub Unregister
'Usage
Dim instance As DatabaseActiveDirectory

instance.Unregister()
public void Unregister()
public:
void Unregister()
member Unregister : unit -> unit
public function Unregister()

Examples

Calling Methods

See Also

Reference

DatabaseActiveDirectory Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)