PublisherMonitor.EnumMergeAgentSessionDetails Method (String, String)
Applies To: SQL Server 2016 Preview
Returns detailed information about a Merge Agent session.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
- Type: System.String
Return ValueType: System.Data.DataSet
A DataSet object that contains the following columns.
The running status:
1 = Start
2 = Succeed
3 = In progress
4 = Idle
5 = Retry
6 = Fail
Time that the session completed.
Elapsed time of the logged session activity, in seconds.
Average number of rows delivered per second.
The number of inserts applied at the Subscriber.
The number of updates applied at the Subscriber.
The number of deletes applied at the Subscriber.
The number of conflicts that occurred while applying changes at the Subscriber.
The number of inserts applied at the Publisher.
The number of updates applied at the Publisher.
The number of deletes applied at the Publisher.
The number of conflicts that occurred while applying changes at the Publisher.
You should commit any property changes to the PublisherMonitor object before calling this method because properties of this object may need to be loaded if they have not been loaded already.
The EnumMergeAgentSessionDetails method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.