sp_add_agent_profile (Transact-SQL)
Creates a new profile for a replication agent. This stored procedure is executed at the Distributor on any database.
sp_add_agent_profile is used in snapshot replication, transactional replication, and merge replication.
Custom agent profiles are added with the default agent parameter values. Use sp_change_agent_parameter (Transact-SQL) to change these default values or sp_add_agent_parameter (Transact-SQL) to add additional parameters.
When sp_add_agent_profile is executed, a row is added for the new custom profile in the MSagent_profiles (Transact-SQL) table and the associated default parameters for this profile are added to the MSagent_parameters (Transact-SQL) table.

