sp_drop_agent_profile (Transact-SQL)
Applies to:
SQL Server
Drops a profile from the MSagent_profiles
table. This stored procedure is executed at the Distributor on any database.
Transact-SQL syntax conventions
Syntax
sp_drop_agent_profile [ @profile_id = ] profile_id
[ ; ]
Arguments
[ @profile_id = ] profile_id
The ID of the profile to be dropped. @profile_id is int, with no default.
Return code values
0
(success) or 1
(failure).
Remarks
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.
Permissions
Only members of the sysadmin fixed server role can execute sp_drop_agent_profile
.
Related content
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για