언어

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.StatusEventHandler 에이전트 실행 중에 이벤트가 Status 발생하면 객체를 StatusEventArgs 반환합니다.

생성자

Name Description
StatusEventArgs()

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

StatusEventArgs(String, Byte, MessageStatus)

제공된 복제 에이전트 상태 정보를 가진 클래스의 StatusEventArgs 새 인스턴스를 생성합니다.

속성

Name Description
Message

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

MessageStatus

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

PercentCompleted

전체 동기화가 완료된 추정 금액입니다.

적용 대상