AGENT_STATUS

Replication Programming

Replication Programming

AGENT_STATUS

The AGENT_STATUS constants provide agent status codes that are returned by the Notify event of the SQLReplErrors collection.

Constant Value Description
REPLAGENT_FAIL 4 Agent operation failed.
REPLAGENT_IN_PROGRESS 1 Agent operation in progress.
REPLAGENT_RETRY 3 Agent operation failed.
REPLAGENT_SUCCEED 2 Agent operation completed successfully.
Remarks

REPLAGENT_RETRY indicates the agent operation failed with errors that may not recur if the operation is retried at a later time. The control does not retry the operation unless the calling program directs it to do so.

See Also

Notify Event

SQLReplErrors Collection