StatusEventArgs 建構函式 (String, Byte, MessageStatus)
Creates a new instance of the StatusEventArgs class with the provided replication agent status information.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
percentCompleted As Byte, _
messageStatus As MessageStatus _
)
'用途
Dim message As String
Dim percentCompleted As Byte
Dim messageStatus As MessageStatus
Dim instance As New StatusEventArgs(message, _
percentCompleted, messageStatus)
public StatusEventArgs(
string message,
byte percentCompleted,
MessageStatus messageStatus
)
public:
StatusEventArgs(
String^ message,
unsigned char percentCompleted,
MessageStatus messageStatus
)
new :
message:string *
percentCompleted:byte *
messageStatus:MessageStatus -> StatusEventArgs
public function StatusEventArgs(
message : String,
percentCompleted : byte,
messageStatus : MessageStatus
)
參數
- message
型別:System. . :: . .String
The status message returned by the replication agent.
- percentCompleted
型別:System. . :: . .Byte
A Byte value that indicates estimated amount of the overall synchronization that has completed.
- messageStatus
型別:Microsoft.SqlServer.Replication. . :: . .MessageStatus
A MessageStatus value that indicates the current operational status of the replication agent.