Construtor StatusEventArgs (String, Byte, MessageStatus)
Creates a new instance of the StatusEventArgs class with the provided replication agent status information.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
Public Sub New ( _
message As String, _
percentCompleted As Byte, _
messageStatus As MessageStatus _
)
'Uso
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
)
Parâmetros
- message
Tipo: System. . :: . .String
The status message returned by the replication agent.
- percentCompleted
Tipo: System. . :: . .Byte
A Byte value that indicates estimated amount of the overall synchronization that has completed.
- messageStatus
Tipo: Microsoft.SqlServer.Replication. . :: . .MessageStatus
A MessageStatus value that indicates the current operational status of the replication agent.
Consulte também