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

Deleting an Application Directory Partition

· 52CE 我爱测

An application directory partition is deleted by deleting the crossRef object that represents the application directory partition.

An application directory partition is deleted by deleting the crossRef object that represents the application directory partition. When the deletion of the crossRef object replicates to a domain controller that has a replica of the application directory partition, the KCC will delete the local replica of the application directory partition. This eventually causes all replicas of the application directory partition to be deleted.

When the crossRef object is deleted, the Active Directory server will delete the domainDNS object that was created when the application directory partition was created, as well as deleting all objects in the application directory partition. None of the objects in the application directory partition are tombstoned when they deleted.

When an application directory partition is deleted, it is very difficult to restore it. To restore an application directory partition, it is necessary to restore a backup that has a replica of the application directory partition, find the crossRef object that represents the application directory partition and authoritatively restore the crossRef object.

To delete an application directory partition and its replicas, perform the following steps

  1. Search the Partitions container for a crossRef object that has an nCName attribute value that is equal to the distinguished name of the application directory partition.
  2. Delete the crossRef object.

For more information, see Example Code for Deleting an Application Directory Partition.

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)

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

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