ReplicationDatabase.QueueReaderAgentExists 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢資料庫是否存在 Queue Reader Agent 工作。
public:
property bool QueueReaderAgentExists { bool get(); };
public bool QueueReaderAgentExists { get; }
member this.QueueReaderAgentExists : bool
Public ReadOnly Property QueueReaderAgentExists As Boolean
屬性值
一個 Boolean 表示是否已為分發資料庫建立佇列讀取代理工作的值。
例外狀況
當資料庫不存在時。
當 Queue Reader Agent 尚未升級至 Microsoft SQL Server 2005 複製代理程式安全模型時, 欲了解更多資訊,請參閱安全與保護(複製)。
備註
QueueReaderAgentExists此屬性僅能由固定sysadmin伺服器角色成員及db_owner固定資料庫角色成員取得。
取回 QueueReaderAgentExists 等同於執行 sp_helpqreader_agent(Transact-SQL)。