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_stoppushsubscription_agent(nvarchar @publication, nvarchar @subscriber
, nvarchar @subscriber_db
, nvarchar @publisher)
MetaData:
create procedure sys.sp_stoppushsubscription_agent ( @publication sysname, @subscriber sysname, @subscriber_db sysname, @publisher sysname = null ) as begin set nocount on declare @cmd nvarchar(4000) declare @retcode int declare @pubtype sysname declare @stop tinyint set @retcode = 0 set @stop = 1 exec @retcode = sys.sp_MSrepl_getpublisherinfo @publisher = @publisher, @publisher_type = @pubtype OUTPUT, @rpcheader = @cmd OUTPUT if @retcode <> 0 return (@retcode) -- Add sp set @cmd = @cmd + N'sys.sp_MSrepl_subscriptionagentjobcontrol' exec @retcode = @cmd @publication = @publication, @subscriber = @subscriber, @subscriber_db = @subscriber_db, @publisher = @publisher, @publisher_type = @pubtype, @action = @stop return @retcode end
No comments:
Post a Comment