The AGENT_STATUS constants provide agent status codes that are returned by the Notify Event (Replication ActiveX) event of the SQLReplErrors Collection (Replication ActiveX) 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. | 
备注
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.
请参阅
参考
Notify Event (Replication ActiveX)
SQLReplErrors Collection (Replication ActiveX)