Updates the profile for a type of replication agent.
sp_update_agent_profile [@agent_type =] agent_type,
[@agent_id = ] agent_id, [@profile_id = ] profile_id
Value | Description |
---|---|
1 | Snapshot Agent |
2 | Log Reader Agent |
3 | Distribution Agent |
4 | Merge Agent |
0 (success) or 1 (failure)
sp_update_agent_profile is used in all types of replication.
Only members of the sysadmin fixed server role can execute sp_update_agent_profile.
sp_add_agent_profile | sp_help_agent_profile |
sp_change_agent_profile | System Stored Procedures |
sp_drop_agent_profile |