Condividi tramite


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
Metodo pubblico StatusEventArgs() () () () Creates a new instance of the StatusEventArgs class.
Metodo pubblico StatusEventArgs(String, Byte, MessageStatus) Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Message The status message returned by the replication agent.
Proprietà pubblica MessageStatus The current operational status of the replication agent.
Proprietà pubblica PercentCompleted The estimated amount of the overall synchronization that has completed.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico 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.