Home
Microsoft SQL Server
  - System tables
  - Procedure
    - Change Data Capture
    - Constraints
    - Files & folders
    - Fulltext (EFTS)
    - Index
    - Login & Users
    - OleDb
    - Oracle
    - Replication
    - Scripting
    - Server
    - Spatial geo
    - SQL Server Agent
    - Transaction
    - Trigger
    - XML
    - Uncategorized
  - Views
    - DMV
  - Functions
DigiMailing
Contact
The name of the object you are looking for
sp_add_log_shipping_alert_job

This is a procedure in the mssqlsystemresource database.
create procedure sys.sp_add_log_shipping_alert_job 
(
    @alert_job_id uniqueidentifier = null output
)
as
begin
    set nocount on
    declare @retcode int

    --
    -- security check
    --
    exec @retcode = sys.sp_MSlogshippingsysadmincheck
    if (@retcode != 0 or @@error != 0)
        return 1
    --
    -- must be invoked from master db
    --
    if (db_name() != N'master')
    begin
        raiserror(5001, 16,-1)
        return 1
    end
    --
    -- call internal proc
    --
    exec @retcode = sys.sp_add_log_shipping_alert_job_internal 
        @alert_job_id = @alert_job_id output
    --
    -- all done
    --
    return @retcode
end

Questions

Feel free to contact.
Email answer to
Question

Type this code
See also

sp_add_log_shipping_alert_job_internal (Procedure)
sp_MSprocesslogshippingmonitorprimary (Procedure)
sp_MSprocesslogshippingmonitorsecondary (Procedure)

Nieuws

Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash