StatusEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示在 Status 事件发生时复制代理返回的状态信息。
public ref class StatusEventArgs : EventArgs, Microsoft::SqlServer::Replication::IStatusEventData
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")]
public class StatusEventArgs : EventArgs, Microsoft.SqlServer.Replication.IStatusEventData
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")>]
type StatusEventArgs = class
inherit EventArgs
interface IStatusEventData
Public Class StatusEventArgs
Inherits EventArgs
Implements IStatusEventData
- 继承
-
StatusEventArgs
- 属性
- 实现
注解
该 Status 事件在同步期间返回复制代理的状态消息、状态代码和百分比完整信息。 在代理执行期间发生事件时,Status返回AgentCore.StatusEventHandler对象StatusEventArgs。
构造函数
StatusEventArgs() |
创建 StatusEventArgs 类的新实例。 |
StatusEventArgs(String, Byte, MessageStatus) |
使用提供的复制代理状态信息创建 StatusEventArgs 类的新实例。 |
属性
Message |
复制代理所返回的状态消息。 |
MessageStatus |
复制代理的当前操作状态。 |
PercentCompleted |
已完成的整个同步的估计量。 |