语言

AgentProfile.Description 属性

定义

获取或设置复制代理配置文件的文本描述。

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)

适用于

另请参阅