Removes the specified target server.
sp_delete_jobserver [@job_id =] job_id, | [@job_name =] 'job_name',
[@server_name =] 'server'
Note Either job_id or job_name must be specified, but both cannot be specified.
0 (success) or 1 (failure)
None
Execute permissions default to the public role.
This example removes the server LONDON1 from processing the Backup Customer Information job.
Note This example assumes that the Backup Customer Information job was created earlier.
USE msdb
EXEC sp_delete_jobserver
@job_name = 'Backup Customer Information',
@server_name = 'LONDON1'
sp_add_jobserver | System Stored Procedures |
sp_help_jobserver |