Classe StatusEventArgs
Represents status information returned by a replication agent when the Status event occurs.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Replication..::..StatusEventArgs
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Sintassi
'Dichiarazione
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ComVisibleAttribute(True)> _
Public Class StatusEventArgs _
Inherits EventArgs _
Implements IStatusEventData
'Utilizzo
Dim instance As StatusEventArgs
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs,
IStatusEventData
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ComVisibleAttribute(true)]
public ref class StatusEventArgs : public EventArgs,
IStatusEventData
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ComVisibleAttribute(true)>]
type StatusEventArgs =
class
inherit EventArgs
interface IStatusEventData
end
public class StatusEventArgs extends EventArgs implements IStatusEventData
Nel tipo StatusEventArgs sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
StatusEventArgs() () () () | Creates a new instance of the StatusEventArgs class. | |
StatusEventArgs(String, Byte, MessageStatus) | Creates a new instance of the StatusEventArgs class with the provided replication agent status information. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
Message | The status message returned by the replication agent. | |
MessageStatus | The current operational status of the replication agent. | |
PercentCompleted | The estimated amount of the overall synchronization that has completed. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Ereditato da Object. |
In alto
Osservazioni
The Status event returns a status message, status code, and percentage complete information from the replication agent during synchronization. The AgentCore..::..StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.