DatabaseActiveDirectory Class
The DatabaseActiveDirectory object provides programmatic access to the Active Directory settings for a database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
The DatabaseActiveDirectory object allows you to:
-
Register a database in the Active Directory service.
-
Update the database information in Active Directory service.
-
Create an alias for the database that appears in the Active Directory service.
-
Create a contact, a description and an information URL for the database that appears in the Active Directory service.
-
Delete the database registration information from Active Directory service.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
To get or set DatabaseActiveDirectory object properties, users must be a member of the db_owner fixed database role or the sysadmin fixed server role.
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.DatabaseActiveDirectory
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.DatabaseActiveDirectory
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.