大网数据广告活动
域与目录服务

Tutorial Overview ADSI with Visual Basic

· 52CE 我爱测

Active Directory is a special-purpose database \ 8212; it is not a registry replacement.

Note:
The following documentation is part of an extended scenario description for Visual Basic developers. If you are looking for a general overview of Active Directory, see the IT Pro docs on Technet. For a more in-depth look at the development side of Active Directory, see Active Directory Domain Services. For a larger introduction to Active Directory Service Interfaces, see this topic's parent topic: Active Directory Service Interfaces, as well as the sibling topic: About Active Directory Service Interfaces.

Active Directory is a special-purpose database — it is not a registry replacement. The directory is designed to handle a large number of read and search operations and a significantly smaller number of changes and updates. Active Directory data is hierarchical, replicated, and extensible. Because it is replicated, you do not want to store dynamic data, such as corporate stock prices or CPU performance. If your data is machine-specific, store the data in the registry. Typical examples of data stored in the directory include printer queue data, user contact data, and network/computer configuration data. The Active Directory database consists of objects and attributes. Objects and attribute definitions are stored in the Active Directory schema.

You may be wondering what objects are currently stored in Active Directory. Active Directory has three partitions. These are also known as naming contexts: domain, schema, and configuration. The domain partition contains users, groups, contacts, computers, organizational units, and many other object types. Because Active Directory is extensible, you can also add your own classes and/or attributes. The schema partition contains classes and attribute definitions. The configuration partition includes configuration data for services, partitions, and sites.

The following screen shot shows the Active Directory domain partition.

active directory domain partition

Related topics

Accessing Active Directory Using Visual Basic

Scenario: The Fabrikam Corporation

Advanced Topics

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。