• 相关软件
    >sp_change_agent_profile 创建者:webmaster 更新时间:2006-02-16 15:51

    更改存储在 MSagent_profiles 中的复制代理程序配置参数。此存储过程在分发服务器的任何数据库上执行。



    语法


    sp_change_agent_profile [ @profile_id = ] profile_id

        , [ @property = ] 'property'

        , [ @value = ] 'value'



    参数


    [@profile_id = ] profile_id



    是配置 ID。profile_id 的数据类型为 int,没有默认设置。



    [@property =] 'property'



    是属性名。property 的数据类型为 sysname,没有默认设置。



    [@value =] 'value'



    是属性的新值。value 的数据类型为 nvarchar(3000),没有默认设置。



    返回代码值


    0(成功)或 1(失败)



    注释


    sp_change_agent_profile 用于所有类型的复制。



    权限


    只有 sysadmin 固定服务器角色成员才能执行 sp_change_agent_profile

    相关文章
    本页查看次数: