Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

sp_change_agent_profile

SQL Server 2000

Changes a parameter of a replication agent profile stored in MSagent_profiles. This stored procedure is executed at the Distributor on any database.

Syntax

sp_change_agent_profile [ @profile_id = ] profile_id
    , [ @property = ] 'property'
    , [ @value = ] 'value'

Arguments

[@profile_id =] profile_id

Is the ID of the profile. profile_id is int, with no default.

[@property =] 'property'

Is the name of the property. property is sysname, with no default.

[@value =] 'value'

Is the new value of the property. value is nvarchar(3000), with no default.

Return Code Values

0 (success) or 1 (failure)

Remarks

sp_change_agent_profile is used in all types of replication.

Permissions

Only members of the sysadmin fixed server role can execute sp_change_agent_profile.

See Also

sp_add_agent_profile

sp_drop_agent_profile

sp_help_agent_profile

System Stored Procedures

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.