Is the ID associated with the newly inserted profile. profile_id is int and is an optional OUTPUT parameter. If specified, the value is set to the new profile ID.
[ @profile_name= ] 'profile_name'
Is the name of the profile. profile_name is sysname, with no default.
[ @agent_type= ] 'agent_type'
Is the type of replication agent. agent_type is int, with no default, and can be one of these values.
Value
Description
1
Snapshot Agent
2
Log Reader Agent
3
Distribution Agent
4
Merge Agent
9
Queue Reader Agent
[ @profile_type= ] profile_type
Is the type of profile.profile_type is int, with a default of 1.
0 indicates a system profile. 1 indicates a custom profile. Only custom profiles can be created using this stored procedure; therefore the only valid value is 1. Only Microsoft SQL Server creates system profiles.
[ @description= ] 'description'
Is a description of the profile. description is nvarchar(3000), with no default.
[ @default= ] default
Indicates whether the profile is the default for agent_type. default is bit, with a default of 0. 1 indicates that the profile being added will become the new default profile for the agent specified by agent_type.