DS_REPL_VALUE_META_DATA_EXT structure (ntdsapi.h)

Contains attribute replication meta data for the DS_REPL_ATTR_VALUE_META_DATA_EXT structure.

Syntax

typedef struct _DS_REPL_VALUE_META_DATA_EXT {
  LPWSTR   pszAttributeName;
  LPWSTR   pszObjectDn;
  DWORD    cbData;
#if ...
  BYTE     *pbData;
#else
  BYTE     *pbData;
#endif
  FILETIME ftimeDeleted;
  FILETIME ftimeCreated;
  DWORD    dwVersion;
  FILETIME ftimeLastOriginatingChange;
  UUID     uuidLastOriginatingDsaInvocationID;
  USN      usnOriginatingChange;
  USN      usnLocalChange;
  LPWSTR   pszLastOriginatingDsaDN;
  DWORD    dwUserIdentifier;
  DWORD    dwPriorLinkState;
  DWORD    dwCurrentLinkState;
} DS_REPL_VALUE_META_DATA_EXT;

Members

pszAttributeName

Pointer to a null-terminated Unicode string that contains the LDAP display name of the attribute corresponding to this metadata.

pszObjectDn

Pointer to a null-terminated Unicode string that contains the distinguished name of the object that this attribute belongs to.

cbData

Contains the number of bytes in the pbData array.

pbData

Pointer to a buffer that contains the attribute replication metadata. The cbData member contains the length, in bytes, of this buffer.

Pointer to a buffer that contains the attribute replication metadata. The cbData member contains the length, in bytes, of this buffer.

ftimeDeleted

Contains a FILETIME structure that contains the time this attribute was deleted.

ftimeCreated

Contains a FILETIME structure that contains the time this attribute was created.

dwVersion

Contains the version of this attribute. Each originating modification of the attribute increases this value by one. Replication of a modification does not affect the version.

ftimeLastOriginatingChange

Contains a FILETIME structure that contains the time at which the last originating change was made to this attribute. Replication of the change does not affect this value.

uuidLastOriginatingDsaInvocationID

Contains the invocation identifier of the server on which the last change was made to this attribute. Replication of the change does not affect this value.

usnOriginatingChange

Contains the update sequence number (USN) on the originating server at which the last change to this attribute was made. Replication of the change does not affect this value.

usnLocalChange

Contains the USN on the destination server, that is the server from which the DsReplicaGetInfo2 function retrieved the metadata, at which the last change to this attribute was applied. This value is typically different on all servers.

pszLastOriginatingDsaDN

Pointer to a null-terminated Unicode string that contains the distinguished name of the directory system agent server that originated the last replication.

dwUserIdentifier

TBD

dwPriorLinkState

TBD

dwCurrentLinkState

TBD

Requirements

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