Returns properties of the Queue Reader agent. This stored procedure is executed at the Distributor on the distribution database or at the Publisher on any database.
ID of the agent.
Name of the agent.
Unique ID of the agent job.
Is the Windows account under which the Distribution agent runs, which is returned in the format DOMAIN\username.
For security reasons, a value of ********** is always returned.
When the value of frompublisher is 1, only members of the sysadmin fixed server role at the Publisher or members of the db_owner fixed database role on the publication database can execute sp_helpqreader_agent. Otherwise, only members of the sysadmin fixed server role at the Distributor or members of the db_owner fixed database role on the distribution database can execute sp_helpqreader_agent.