大网数据广告活动
域与目录服务

MSAD_ReplPendingOp class

· 52CE 我爱测

Represents the DS_REPL_OP structure, which describes a replication task that is currently executing or pending execution.

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。