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)

適用対象

こちらもご覧ください