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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Replication 命名空間