MSAD_ReplPendingOp class

Represents the DS_REPL_OP structure, which describes a replication task that is currently executing or pending execution. This structure is returned by the DsReplicaGetInfo function.

Syntax

[dynamic, provider("ReplProv1")]
class MSAD_ReplPendingOp
{
  uint32   SerialNumber;
  uint32   PositionInQ;
  datetime OpStartTime;
  datetime TimeEnqueued;
  uint32   Priority;
  uint32   OpType;
  uint32   Options;
  String   NamingContextDN;
  String   NamingContextObjGuid;
  String   DsaDN;
  String   DsaAddress;
  String   DsaObjGuid;
};

Members

The MSAD_ReplPendingOp class has these types of members:

Properties

The MSAD_ReplPendingOp class has these properties.

DsaAddress

Data type: String

Access type: Read-only

Gets the transport-specific network address of the remote server that is associated with this operation. NULL if there is no remote server that is associated with this operation.

DsaDN

Data type: String

Access type: Read-only

Gets the X.500 path of the DSA that is associated with the remote server that corresponds to this operation. NULL if no remote server corresponds to this operation.

DsaObjGuid

Data type: String

Access type: Read-only

Gets the value of the objectGuid attribute of the DSA that is identified by the DsaDN property.

NamingContextDN

Data type: String

Access type: Read-only

Gets the X.500 path of the naming context (NC) that is associated with this operation.

NamingContextObjGuid

Data type: String

Access type: Read-only

Gets the objectGuid attribute of the NC that is identified by the NamingContextDN property.

OpStartTime

Data type: datetime

Access type: Read-only

Gets the time when the operation was started. NULL if this operation is still in the queue.

Options

Data type: uint32

Access type: Read-only

Gets the set of flags that provides additional data about the operation. The contents of this member are determined by the value of the OpType property.

DS_REPL_OP_TYPE_SYNC

Contains zero or a combination of one or more of the DS_REPSYNC_* values as defined for the Options parameter in DsReplicaSync.

DS_REPL_OP_TYPE_ADD

Contains zero or a combination of one or more of the DS_REPADD_* values as defined for the Options parameter in DsReplicaAdd.

DS_REPL_OP_TYPE_DELETE

Contains zero or a combination of one or more of the DS_REPDEL_* values as defined for the Options parameter in DsReplicaDel.

DS_REPL_OP_TYPE_MODIFY

Contains zero or a combination of one or more of the DS_REPMOD_* values as defined for the Options parameter in DsReplicaModify.

DS_REPL_OP_TYPE_UPDATE_REFS

Contains zero or a combination of one or more of the DS_REPSUPD_* values as defined for the Options parameter in DsReplicaUpdateRefs.

OpType

Data type: uint32

Access type: Read-only

Gets the DS_REPL_OP_TYPE value that indicates the type of operation that this class represents.

PositionInQ

Data type: uint32

Access type: Read-only

Gets the position of this operation in the queue.

Priority

Data type: uint32

Access type: Read-only

Gets the priority of this operation. Higher-priority tasks are executed first. The priority is calculated by the server based on the type of operation that this class represents and the parameters of the operation.

SerialNumber

Data type: uint32

Access type: Read-only

Qualifiers: key

Gets the ID of the operation, which is unique per-machine and per-boot.

TimeEnqueued

Data type: datetime

Access type: Read-only

Gets the time at which this operation was added to the queue.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MicrosoftActiveDirectory
MOF
Replprov.mof
DLL
Replprov.dll