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

包含代理程式設定檔文字描述的 String 值。

備註

Description屬性是讀取/寫入屬性。

只有在散發者端的 Description sysadmin 固定伺服器角色成員或固定資料庫角色的成員,才能抓取此屬性 replmonitor

只有在散發者端的 Description 固定伺服器角色的成員,才能設定屬性 sysadmin

抓取 Description 相當於執行 (transact-sql) 的 sp_help_agent_profile

Description針對現有設定檔的設定和呼叫 CommitPropertyChanges 相當於執行 (transact-sql) 的 sp_change_agent_profile

設定 Description 和呼叫 Create 相當於執行 (transact-sql) 的 sp_add_agent_profile

適用於

另請參閱