Share via


MergeSessionSummary Class

Represents Merge Agent session information.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.MergeSessionSummary

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public NotInheritable Class MergeSessionSummary
'Usage
Dim instance As MergeSessionSummary
public sealed class MergeSessionSummary
public ref class MergeSessionSummary sealed
[<SealedAttribute>]
type MergeSessionSummary =  class end
public final class MergeSessionSummary

The MergeSessionSummary type exposes the following members.

Constructors

  Name Description
Public method MergeSessionSummary Creates an instance of the MergeSessionSummary class.

Top

Properties

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

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Replication Namespace

Other Resources

NIB Programmatically Monitor Replication (RMO Programming)

Subscriber Monitor Sample