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.
The AgentsStatus property returns a value representing, the current state of replication jobs affecting a distribution database or providing services for a distribution Publisher.
At least one job failed to run successfully.
All jobs are scheduled and idle.
All jobs are waiting to start.
At least one job is attempting to run after a previous failure.
At least one job is running.
At least one job is starting.
All jobs have run successfully.