StatusEventArgs クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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オブジェクトを返します。
コンストラクター
| 名前 | 説明 |
|---|---|
| StatusEventArgs() |
StatusEventArgs クラスの新しいインスタンスを作成します。 |
| StatusEventArgs(String, Byte, MessageStatus) |
提供されたレプリケーションエージェントの状態情報を使って、 StatusEventArgs クラスの新しいインスタンスを作成します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Message |
レプリケーションエージェントから返されたステータスメッセージ。 |
| MessageStatus |
レプリケーションエージェントの現在の運用状況。 |
| PercentCompleted |
完了した全体の同期の推定量。 |