4.1.7.2.1 RemoveADLDSServer
-
procedure RemoveADLDSServer(): DWORD
The RemoveADLDSServer procedure connects to any available replication partner and uses the IDL_DRSRemoveDsServer method to delete the nTDSDSA object that corresponds to this DC. If no replication partner is available, or if a replication partner is available and either no such nTDSDSA object exists or the deletion is successful, RemoveADLDSServer returns ERROR_SUCCESS; otherwise, it returns a Win32 error.