Directory Services

DS_REPL_ATTR_META_DATA

The DS_REPL_ATTR_META_DATA structure is used with the DsReplicaGetInfo and DsReplicaGetInfo2 functions to contain replication state data for an object attribute.

typedef struct _DS_REPL_ATTR_META_DATA {
LPWSTR pszAttributeName;
DWORD dwVersion;
FILETIME ftimeLastOriginatingChange;
UUID uuidLastOriginatingDsaInvocationID;
USN usnOriginatingChange;
USN usnLocalChange; } DS_REPL_ATTR_META_DATA;

Members

pszAttributeName
Pointer to a null-terminated Unicode string that contains the LDAP display name of the attribute corresponding to this metadata.
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 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 identification 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 (the server from which the DsReplicaGetInfo function retrieved the metadata) at which the last change to this attribute was applied. This value typically is different on all servers.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Unicode: Declared only as Unicode.
Header: Declared in Ntdsapi.h.

See Also

DS_REPL_OBJ_META_DATA, DsReplicaGetInfo, DsReplicaGetInfo2