DS_REPL_NEIGHBORSW structure (ntdsapi.h)

The DS_REPL_NEIGHBORS structure is used with the DsReplicaGetInfo and DsReplicaGetInfo2 functions to provide inbound replication state data for naming context and source server pairs.

Syntax

typedef struct _DS_REPL_NEIGHBORSW {
  DWORD             cNumNeighbors;
  DWORD             dwReserved;
#if ...
  DS_REPL_NEIGHBORW rgNeighbor[];
#else
  DS_REPL_NEIGHBORW rgNeighbor[1];
#endif
} DS_REPL_NEIGHBORSW;

Members

cNumNeighbors

Contains the number of elements in the rgNeighbor array.

dwReserved

Reserved for future use.

rgNeighbor

Contains an array of DS_REPL_NEIGHBOR structures that contain the requested replication data. The cNumNeighbors member contains the number of elements in this array.

rgNeighbor[1]

Contains an array of DS_REPL_NEIGHBOR structures that contain the requested replication data. The cNumNeighbors member contains the number of elements in this array.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header ntdsapi.h

See also

DS_REPL_NEIGHBOR

DsReplicaGetInfo

DsReplicaGetInfo2