Synchronizes domain controllers.
wntDomainSync( server-name, request)
(s) server-name: the UNC name of the server on which the function will execute (eg, "\\MYSERVER"), or a blank string ("") to indicate the current machine.
(i) request: specifies the operation to perform. See below.
(i) 1, always.
"request" specifies the operation to perform, and can be one of the following values:
Value |
Meaning |
2 |
Force replicate on BDC (standard replication). "server-name" should be a BDC. |
3 |
Force synchronize on BDC (full replication). "server-name" should be a BDC. |
4 |
Force PDC to broadcast change. "server-name" should be a PDC. |
5 |
Force to re-discover trusted domain DCs. |
7 |
Notify netlogon that a new transport has come online. |
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
;This example will cause all BDC's to be replicated. PDC=wntGetDc( "", "WorkGrp", 1) Message("Primary Domain controller for Workgrps",PDC) wntDomainSync( PDC, 2) Exit