共用方式為


StatusEventArgs Constructor (String, Byte, MessageStatus)

Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

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

語法

'宣告
Public Sub New ( _
    message As String, _
    percentCompleted As Byte, _
    messageStatus As MessageStatus _
)
public StatusEventArgs (
    string message,
    byte percentCompleted,
    MessageStatus messageStatus
)
public:
StatusEventArgs (
    String^ message, 
    unsigned char percentCompleted, 
    MessageStatus messageStatus
)
public StatusEventArgs (
    String message, 
    byte percentCompleted, 
    MessageStatus messageStatus
)
public function StatusEventArgs (
    message : String, 
    percentCompleted : byte, 
    messageStatus : MessageStatus
)

參數

  • message
    The status message returned by the replication agent.
  • percentCompleted
    A Byte value that indicates estimated amount of the overall synchronization that has completed.
  • messageStatus
    A MessageStatus value that indicates the current operational status of the replication agent.

平台

開發平台

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

目標平台

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

請參閱

參考

StatusEventArgs Class
StatusEventArgs Members
Microsoft.SqlServer.Replication Namespace