Share via


DatabaseActiveDirectory Class

The DatabaseActiveDirectory object provides programmatic access to the Active Directory settings for a database.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public NotInheritable Class DatabaseActiveDirectory
    Inherits SqlSmoObject
public sealed class DatabaseActiveDirectory : SqlSmoObject
public ref class DatabaseActiveDirectory sealed : public SqlSmoObject
public final class DatabaseActiveDirectory extends SqlSmoObject
public final class DatabaseActiveDirectory extends SqlSmoObject

주의

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.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.DatabaseActiveDirectory

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DatabaseActiveDirectory Members
Microsoft.SqlServer.Management.Smo Namespace

관련 자료

Active Directory 저장 프로시저(Transact-SQL)
sp_ActiveDirectory_Obj(Transact-SQL)