IDesignatedBDC Method: ResetDesignatedBDCsForDomain

ResetDesignatedBDCsForDomain
(
 DomainName As String
);

Parameters

[in] BSTR DomainName
Name of the domain whose list of designated Backup Domain Controllers (BDCs) is to be removed.

Description
Removes the specified domain entry and its list of designated BDCs. Once the list is removed, lookups and other operations will be done on the Primary Domain Controller (PDC) of the domain.

Example

Dim DBDCObj As IDesignatedBDC
Set DBDCObj = GetObject("NTDS:")
'Remove the designated BDCs list for "DomainName"
DBDCObj.ResetDesignatedBDCsForDomain "DomainName"

 

See Also: