May 7, 2012

sp_MSadd_subscription_3rd (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
The meta data is from an SQL 2012 Server.

I have posted alot more, find the whole list here.

Goto Definition or MetaData

Definition:

sys.sp_MSadd_subscription_3rd(nvarchar @publisher
, nvarchar @publisher_db
, nvarchar @publication
, nvarchar @subscriber
, nvarchar @subscriber_db
, tinyint @status
, tinyint @subscription_type
, tinyint @sync_type
, int @frequency_type
, int @frequency_interval
, int @frequency_relative_interval
, int @frequency_recurrence_factor
, int @frequency_subday
, int @frequency_subday_interval
, int @active_start_time_of_day
, int @active_end_time_of_day
, int @active_start_date
, int @active_end_date)

MetaData:

 CREATE PROCEDURE sys.sp_MSadd_subscription_3rd  
(
@publisher sysname,
@publisher_db sysname,
@publication sysname,
@subscriber sysname,
@subscriber_db sysname = NULL,
@status tinyint, -- 0 = inactive, 1 = subscribed, 2 = active
@subscription_type tinyint = 0, -- 0 = push, 1 = pull, 2 = anonymous
@sync_type tinyint = 2, -- 0 = none 1 = automatic snaphot 2 = no intial snapshot
@frequency_type int = NULL,
@frequency_interval int = NULL,
@frequency_relative_interval int = NULL,
@frequency_recurrence_factor int = NULL,
@frequency_subday int = NULL,
@frequency_subday_interval int = NULL,
@active_start_time_of_day int = NULL,
@active_end_time_of_day int = NULL,
@active_start_date int = NULL,
@active_end_date int = NULL,
@distribution_jobid binary(8) = NULL OUTPUT
)
AS
BEGIN
-- 'sp_MSadd_subscription_3rd' is no longer supported.
RAISERROR(21023, 16, -1, 'sp_MSadd_subscription_3rd')
RETURN 1
END

No comments:

Post a Comment

Total Pageviews