StatusEventArgs 클래스

정의

Status 이벤트가 발생할 때 복제 에이전트가 반환한 상태 정보를 나타냅니다.

public ref class StatusEventArgs : EventArgs, Microsoft::SqlServer::Replication::IStatusEventData
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")]
public class StatusEventArgs : EventArgs, Microsoft.SqlServer.Replication.IStatusEventData
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("71E7B237-A9E6-4315-90E7-7BF2A7EEC838")>]
type StatusEventArgs = class
    inherit EventArgs
    interface IStatusEventData
Public Class StatusEventArgs
Inherits EventArgs
Implements IStatusEventData
상속
StatusEventArgs
특성
구현

설명

Status 이벤트는 동기화 중에 복제 에이전트에서 상태 메시지, 상태 코드 및 완료율 정보를 반환합니다. 에이전트 AgentCore.StatusEventHandlerStatusEventArgs 실행하는 동안 이벤트가 발생할 때 Status 개체를 반환합니다.

생성자

StatusEventArgs()

StatusEventArgs 클래스의 새 인스턴스를 만듭니다.

StatusEventArgs(String, Byte, MessageStatus)

제공된 복제 에이전트 상태 정보를 사용하여 StatusEventArgs 클래스의 새 인스턴스를 만듭니다.

속성

Message

복제 에이전트가 반환한 상태 메시지입니다.

MessageStatus

복제 에이전트의 현재 작업 상태입니다.

PercentCompleted

완료된 전체 동기화 작업의 예상 양입니다.

적용 대상