Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new instance of the StatusEventArgs class with the provided replication agent status information.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
percentCompleted As Byte, _
messageStatus As MessageStatus _
)
'Usage
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
)
Parameters
- message
Type: System.String
The status message returned by the replication agent.
- percentCompleted
Type: System.Byte
A Byte value that indicates estimated amount of the overall synchronization that has completed.
- messageStatus
Type: Microsoft.SqlServer.Replication.MessageStatus
A MessageStatus value that indicates the current operational status of the replication agent.