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