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 相當於執行 (transact-sql) 的 sp_help_agent_profile 。
Description針對現有設定檔的設定和呼叫 CommitPropertyChanges 相當於執行 (transact-sql) 的 sp_change_agent_profile 。
設定 Description 和呼叫 Create 相當於執行 (transact-sql) 的 sp_add_agent_profile 。