Export (0) Print
Expand All
Expand Minimize

sp_drop_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).

Drops a profile from the MSagent_profiles table. This stored procedure is executed at the Distributor on any database.

Topic link icon Transact-SQL Syntax Conventions

sp_drop_agent_profile [ @profile_id = ] profile_id

[ @profile_id=] profile_id

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

0 (success) or 1 (failure)

sp_drop_agent_profile is used in all types of replication.

The parameters of the given profile are also dropped from the MSagent_parameters table.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft