PublicationMonitor.EnumTracerTokenHistory Method (Int32)
Applies To: SQL Server 2016 Preview
Returns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Return ValueType: System.Data.DataSet
A DataSet object that contains the following columns.
Number of seconds between the tracer token record being committed at the Publisher and being committed at the Distributor.
Name of the Subscriber that received the tracer token.
Name of the subscription database into which the tracer token record was inserted.
Number of seconds between the tracer token record being committed at the Distributor and being committed at the Subscriber.
Number of seconds between the tracer token record being committed at the Publisher and being committed at the Subscriber.
One row is returned for each subscription that received the tracer token record. Call EnumTracerTokens to get the tracer tokens inserted into the monitored publication.
The EnumTracerTokenHistory method is only valid for transactional publications.
The EnumTracerTokenHistory method can only be called by members of the db_owner or replmonitor fixed database roles in the distribution database.