Replication Agent Constants (SQLDMO_REPLAGENT_TYPE)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Replication agent constants enumerate the SQL Server Agent job step subsystems implementing programmable agents for Microsoft SQL Server replication.

Constant

Value

Description

SQLDMOReplAgent_All

0

All replication agent types are supported

SQLDMOReplAgent_Default

0

SQLDMOReplAgent_All

SQLDMOReplAgent_Distribution

3

Replication Distribution Agent

SQLDMOReplAgent_LogReader

2

Replication transaction Log Reader Agent

SQLDMOReplAgent_Merge

4

Replication Merge Agent

SQLDMOReplAgent_Miscellaneous

5

Agents not otherwise classified

SQLDMOReplAgent_Publishers

-1

Agents supporting Publishers

SQLDMOReplAgent_QueueReader

9

Replication Queue Reader Agent

SQLDMOReplAgent_Snapshot

1

Replication Snapshot Agent