共用方式為


StatusEventArgs Class

Represents status information returned by a replication agent when the Status event occurs.

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
<ComVisibleAttribute(True)> _
<GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs
    Inherits EventArgs
    Implements IStatusEventData
[ComVisibleAttribute(true)] 
[GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458")] 
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] 
public class StatusEventArgs : EventArgs, IStatusEventData
[ComVisibleAttribute(true)] 
[GuidAttribute(L"4afb1751-f142-4698-902a-bd19f3492458")] 
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] 
public ref class StatusEventArgs : public EventArgs, IStatusEventData
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ 
public class StatusEventArgs extends EventArgs implements IStatusEventData
ComVisibleAttribute(true) 
GuidAttribute("4afb1751-f142-4698-902a-bd19f3492458") 
ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) 
public class StatusEventArgs extends EventArgs implements IStatusEventData

備註

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.

Inheritance Hierarchy

System.Object
   System.EventArgs
    Microsoft.SqlServer.Replication.StatusEventArgs

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

StatusEventArgs Members
Microsoft.SqlServer.Replication Namespace

其他資源

如何:同步處理提取訂閱 (RMO 程式設計)
如何:同步處理發送訂閱 (RMO 程式設計)
Sales Orders Sample Implementation Details