IADsTools SetReplicaSyncAllFlags Question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Rob (anonymous_at_discussions.microsoft.com)
Date: 09/07/04


Date: Mon, 6 Sep 2004 23:28:48 -0700

Hello - I am trying to use the following snippet of code
without much success:
==================================================
Set DLL=CreateObject("IADsTools.DCFunctions")

DLL.SetReplicaSyncAllFlags
(DS_REPSYNCALL_SKIP_INITIAL_CHECK,DS_REPSYNCALL_PUSH_CHANG
ES_OUTWARD,DS_REPSYNCALL_CROSS_SITE_BOUNDARIES)

Result=DLL.ReplicaSyncAll(Cstr(objDC),Cstr(
NamingContext),1,0)
==================================================

Is anyone here experienced with using
SetReplicaSyncAllFlags successfully? Is the format
correct? I receive an error when I attempt to specify
those flags. I did find a reference to the numeric
values of those flags and then tried it in the
DLL.SetReplicaSyncAllFlags() function but it failed to
work. Any ideas are appreciated.



Relevant Pages

  • Re: OAL and BSP
    ... you call KernelIoControl in the old fashion, ... It's OALIntrRequestSysIntr that parses the flags. ... The 'old' method doesn't specify the flags parameter, ... > nInBufSize is not greater than sizeofand the calling method is ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SS_RIGHT and SS_OWNERDRAW
    ... I guess when you specify SS_OWNERDRAW you can't specify any other type. ... The SS_* flags are defined as ... They share the same bitfield! ... So this is totally invalid: ...
    (microsoft.public.vc.mfc)
  • Re: python create WMI instances
    ... Do I need to specify any flags with Put_? ... > | the format ... > anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • Re: Using sched_clock for mmio-trace
    ... One reason I did it the other way is because it's easier to specify what ... Almost everyone would want every flags listed, ... return the "best" clock .. ...
    (Linux-Kernel)
  • Re: [KVM PATCH v5 3/4] KVM: Fix races in irqfd using new eventfd_kref_get interface
    ... if (flags & POLLIN) ... The general guarantee comes from the fact that modules naturally have to ... have a reference to be able to call the enqueue function to begin with, ... If it doesn't, I suppose KVM ...
    (Linux-Kernel)