MergeSessionSummary 类

Represents Merge Agent session information.

继承层次结构

System.Object
  Microsoft.SqlServer.Replication.MergeSessionSummary

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public NotInheritable Class MergeSessionSummary
用法
Dim instance As MergeSessionSummary
public sealed class MergeSessionSummary
public ref class MergeSessionSummary sealed
[<SealedAttribute>]
type MergeSessionSummary =  class end
public final class MergeSessionSummary

MergeSessionSummary 类型公开以下成员。

构造函数

  名称 说明
公共方法 MergeSessionSummary Creates an instance of the MergeSessionSummary class.

页首

属性

  名称 说明
公共属性 CurrentPhase Gets or sets the current phase of an active session.
公共属性 Duration Gets or sets the length of the session, in seconds.
公共属性 EndTime Gets or sets the end time of the session.
公共属性 Errors Gets or sets the errors that occurred during the synchronization.
公共属性 LastMessage Gets or sets the last message returned by the agent during the session.
公共属性 NumberOfDownloads Gets or sets the number of rows downloaded during the session.
公共属性 NumberOfUploads Gets or sets the number of rows downloaded during the session.
公共属性 PercentComplete Gets or sets the progress of a running session, as a percentage.
公共属性 SessionId Gets or sets the identifier for the session.
公共属性 StartTime Gets or sets the starting time for the session.
公共属性 Status Gets or sets the status of the session.
公共属性 TimeRemaining Gets or sets the estimated time remaining for a running session.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

The MergeSessionSummary class represents a row returned by the sp_replmonitorhelpmergesession (Transact-SQL) stored procedure.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Replication 命名空间

其他资源

以编程方式监视复制(RMO 编程)

Subscriber Monitor Sample