AgentProfile.Type 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定複寫代理程式設定檔是由複寫預先定義或由使用者建立。
public:
property Microsoft::SqlServer::Replication::AgentProfileTypeOption Type { Microsoft::SqlServer::Replication::AgentProfileTypeOption get(); };
public Microsoft.SqlServer.Replication.AgentProfileTypeOption Type { get; }
member this.Type : Microsoft.SqlServer.Replication.AgentProfileTypeOption
Public ReadOnly Property Type As AgentProfileTypeOption
屬性值
AgentProfileTypeOption 物件值,指定代理程式設定檔的類型。
備註
Type屬性是唯讀屬性,會在建立設定檔時由伺服器設定。
只有在散發者端的 Type sysadmin 固定伺服器角色成員或固定資料庫角色的成員,才能抓取此屬性 replmonitor 。
抓取 Type 相當於執行 (transact-sql) 的 sp_help_agent_profile 。