Compartilhar via


Classe StatusEventArgs

Represents status information returned by a replication agent when the Status event occurs.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
<ComVisibleAttribute(True)> _
<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class StatusEventArgs _
    Inherits EventArgs _
    Implements IStatusEventData
'Uso
Dim instance As StatusEventArgs
[ComVisibleAttribute(true)]
[GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public class StatusEventArgs : EventArgs, 
    IStatusEventData
[ComVisibleAttribute(true)]
[GuidAttribute(L"71B58976-D89C-41E3-8097-E9CA20A873E1")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class StatusEventArgs : public EventArgs, 
    IStatusEventData
[<ComVisibleAttribute(true)>]
[<GuidAttribute("71B58976-D89C-41E3-8097-E9CA20A873E1")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type StatusEventArgs =  
    class
        inherit EventArgs
        interface IStatusEventData
    end
public class StatusEventArgs extends EventArgs implements IStatusEventData

Comentários

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.

Hierarquia de herança

System. . :: . .Object
  System. . :: . .EventArgs
    Microsoft.SqlServer.Replication..::..StatusEventArgs

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.