May 10, 2012

sp_MSdrop_distribution_agentid_dbowner_proxy (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_MSdrop_distribution_agentid_dbowner_proxy(int @agent_id)

MetaData:

 CREATE PROCEDURE sys.sp_MSdrop_distribution_agentid_dbowner_proxy  
(
@agent_id int
)
AS
begin
declare @retcode int

--
-- security check
-- only db_owner can execute this
--
if (is_member ('db_owner') != 1)
begin
raiserror(14260, 16, -1)
return (1)
end

exec @retcode = sys.sp_MSdrop_distribution_agentid @agent_id = @agent_id
return @retcode
end

No comments:

Post a Comment

Total Pageviews