sp_help_log_shipping_alert_job (Transact-SQL)
Applies to: SQL Server
This stored procedure returns the job ID of the alert job from the log shipping monitor.
Transact-SQL syntax conventions
Syntax
sp_help_log_shipping_alert_job
[ ; ]
Arguments
None.
Return code values
0
(success) or 1
(failure).
Result set
This stored procedure returns the SQL Server Agent job ID of the log shipping alert job. If no log shipping alert job exists, it returns an empty result set.
Remarks
sp_help_log_shipping_alert_job
must be run from the master
database on the monitor server.
Permissions
Only members of the sysadmin fixed server role can run this procedure.
Related content
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho