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 イベントが発生すると、StatusEventArgsStatus オブジェクトを返します。

コンストラクター

StatusEventArgs()

StatusEventArgs クラスの新しいインスタンスを作成します。

StatusEventArgs(String, Byte, MessageStatus)

提供されたレプリケーション エージェント状態情報を使用して StatusEventArgs クラスの新しいインスタンスを作成します。

プロパティ

Message

レプリケーション エージェントによって返される状態メッセージです。

MessageStatus

レプリケーション エージェントの現在の操作状態です。

PercentCompleted

同期が全体のどの程度完了したかを示します。

適用対象