StatusEventArgs 类
Represents status information returned by a replication agent when the Status event occurs.
继承层次结构
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Replication..::..StatusEventArgs
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
<ComVisibleAttribute(True)> _
<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs _
Inherits EventArgs _
Implements IStatusEventData
用法
Dim instance As StatusEventArgs
[ComVisibleAttribute(true)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public class StatusEventArgs : EventArgs,
IStatusEventData
[ComVisibleAttribute(true)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class StatusEventArgs : public EventArgs,
IStatusEventData
[<ComVisibleAttribute(true)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type StatusEventArgs =
class
inherit EventArgs
interface IStatusEventData
end
public class StatusEventArgs extends EventArgs implements IStatusEventData
StatusEventArgs 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
StatusEventArgs() () () () | Creates a new instance of the StatusEventArgs class. | |
StatusEventArgs(String, Byte, MessageStatus) | Creates a new instance of the StatusEventArgs class with the provided replication agent status information. |
页首
属性
名称 | 说明 | |
---|---|---|
Message | The status message returned by the replication agent. | |
MessageStatus | The current operational status of the replication agent. | |
PercentCompleted | The estimated amount of the overall synchronization that has completed. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
The Status event returns a status message, status code, and percentage complete information from the replication agent during synchronization. The AgentCore..::..StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。