AgentProfile.Default 屬性

定義

指定此設定檔是否為給定複寫代理程式類型的預設設定檔。

public:
 property bool Default { bool get(); };
public bool Default { get; }
member this.Default : bool
Public ReadOnly Property Default As Boolean

屬性值

Boolean

Boolean 值。

備註

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

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

Default屬性是唯讀屬性。

適用於

另請參閱