次の方法で共有


StatusEventArgs クラス

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

継承階層

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

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")> _
<ComVisibleAttribute(True)> _
Public Class StatusEventArgs _
    Inherits EventArgs _
    Implements IStatusEventData
'使用
Dim instance As StatusEventArgs
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public class StatusEventArgs : EventArgs, 
    IStatusEventData
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")]
[ComVisibleAttribute(true)]
public ref class StatusEventArgs : public EventArgs, 
    IStatusEventData
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("ECA63AB1-3A3C-4722-BFC4-81E10BA0CA06")>]
[<ComVisibleAttribute(true)>]
type StatusEventArgs =  
    class 
        inherit EventArgs 
        interface IStatusEventData 
    end
public class StatusEventArgs extends EventArgs implements IStatusEventData

StatusEventArgs 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド StatusEventArgs() Creates a new instance of the StatusEventArgs class.
パブリック メソッド StatusEventArgs(String, Byte, MessageStatus) Creates a new instance of the StatusEventArgs class with the provided replication agent status information.

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Message The status message returned by the replication agent.
パブリック プロパティ MessageStatus The current operational status of the replication agent.
パブリック プロパティ PercentCompleted The estimated amount of the overall synchronization that has completed.

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

説明

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.

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Replication 名前空間

その他の技術情報

プル サブスクリプションを同期する方法 (RMO プログラミング)

プッシュ サブスクリプションを同期する方法 (RMO プログラミング)

Sales Orders Sample Implementation Details