DS_REPL_ATTR_VALUE_META_DATA_2 structure (ntdsapi.h)

The DS_REPL_ATTR_VALUE_META_DATA_2 structure is used with the DsReplicaGetInfo2 function to provide metadata for a collection of attribute values.

Syntax

typedef struct _DS_REPL_ATTR_VALUE_META_DATA_2 {
  DWORD                     cNumEntries;
  DWORD                     dwEnumerationContext;
#if ...
  DS_REPL_VALUE_META_DATA_2 rgMetaData[];
#else
  DS_REPL_VALUE_META_DATA_2 rgMetaData[1];
#endif
} DS_REPL_ATTR_VALUE_META_DATA_2;

Members

cNumEntries

Contains the number of elements in the rgMetaData array.

dwEnumerationContext

Contains the zero-based index of the next entry to retrieve if more entries are available. This value is passed for the dwEnumerationContext parameter in the next call to DsReplicaGetInfo2 to retrieve the next block of entries. If no more entries are available, this member contains -1.

rgMetaData

Contains an array of DS_REPL_VALUE_META_DATA_2 structures that contain the individual attribute replication values. The cNumEntries member contains the number of elements in this array.

rgMetaData[1]

Contains an array of DS_REPL_VALUE_META_DATA_2 structures that contain the individual attribute replication values. The cNumEntries 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_VALUE_META_DATA_2

DsReplicaGetInfo2