MergeSynchronizationAgent.ComStatus 事件
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Occurs when the Merge Agent returns synchronization Com status information.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)
語法
'宣告
Public Event ComStatus As AgentCore.StatusEventHandler
'用途
Dim instance As MergeSynchronizationAgent
Dim handler As AgentCore.StatusEventHandler
AddHandler instance.ComStatus, handler
public event AgentCore.StatusEventHandler ComStatus
public:
event AgentCore.StatusEventHandler^ ComStatus {
void add (AgentCore.StatusEventHandler^ value);
void remove (AgentCore.StatusEventHandler^ value);
}
member ComStatus : IEvent<AgentCore.StatusEventHandler,
StatusEventArgs>
JScript 支援事件的使用,但不支援新事件的宣告。