Adds a new parameter and its value to an agent’s profile.
sp_add_agent_parameter [@profile_id =] profile_id,
[@parameter_name =] 'parameter_name'
[@parameter_value =] 'parameter_value'
0 (success) or 1 (failure)
sp_add_agent_parameter is used in snapshot, transactional, and merge replication.
Only members of the sysadmin fixed server role can execute sp_add_agent_parameter.
sp_add_agent_profile | sp_help_agent_parameter |
sp_drop_agent_parameter | System Stored Procedures |