Returns a list of all replication agent parameters that can be set in an agent profile for the specified agent type. This stored procedure is executed at the Distributor where the agent is running, on any database.
Transact-SQL Syntax Conventions
sp_getagentparameterlist [ @agent_type = ] 'agent_type'
Is the replication agent for which the parameter is being added. agent_type is int, and can be one of these values:
0 (success) or 1 (failure)
Only members of the sysadmin fixed server role can execute sp_getagentparameter.