sp_change_agent_profile (Transact-SQL)
Collapse the table of content
Expand the table of content

sp_change_agent_profile (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Changes a parameter of a replication agent profile stored in the MSagent_profiles (Transact-SQL) table. This stored procedure is executed at the Distributor on any database.

Topic link icon Transact-SQL Syntax Conventions

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

[ @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.

This table describes the profile properties that can be changed.




Description for the profile.

0 (success) or 1 (failure)

sp_change_agent_profile is used in all types of replication.

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

Community Additions

© 2016 Microsoft