AgentProfile.Description 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置复制代理配置文件的文本描述。
public:
property System::String ^ Description { System::String ^ get(); void set(System::String ^ value); };
public string Description { get; set; }
member this.Description : string with get, set
Public Property Description As String
属性值
包含 String 代理配置文件的文本描述的值。
注解
该 Description 属性是读写属性。
Description该属性只能由分发器中固定服务器角色的成员sysadmin或固定数据库角色的成员replmonitor检索。
Description该属性只能由分发器中固定服务器角色的成员sysadmin设置。
检索 Description 相当于执行 sp_help_agent_profile(Transact-SQL)。
为已有配置文件设置 Description 并调用 CommitPropertyChanges 相当于执行 sp_change_agent_profile(Transact-SQL)。
设置 Description 和调用 Create 等同于执行 sp_add_agent_profile(Transact-SQL)。