sp_help_log_shipping_alert_job (Transact-SQL)

This stored procedure returns the job ID of the alert job from the log shipping monitor.

Ikona łącza do tematu Transact-SQL Syntax Conventions

Składnia

sp_help_log_shipping_alert_job

Arguments

None

Return Code Values

0 (success) or 1 (failure)

Result Sets

This stored procedure returns the Microsoft SQL Server Agent job ID of the log shipping alert job. If no log shipping alert job exists, it returns an empty result set.

Uwagi

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.

Zobacz także

Odwołanie

System Stored Procedures (Transact-SQL)

Koncepcje

About Log Shipping (SQL Server)