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 中)
声明
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")> _
<ComVisibleAttribute(True)> _
Public Class StatusEventArgs _
Inherits EventArgs _
Implements IStatusEventData
用法
Dim instance As StatusEventArgs
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs,
IStatusEventData
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public ref class StatusEventArgs : public EventArgs,
IStatusEventData
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")>]
[<ComVisibleAttribute(true)>]
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。