Share via


DatabaseActiveDirectory.Register Method

Adds the database to the Active Directory service register.

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

Syntax

'Declaration
Public Sub Register
'Usage
Dim instance As DatabaseActiveDirectory

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

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)