PublicationMonitor.EnumTracerTokenHistory(Int32) PublicationMonitor.EnumTracerTokenHistory(Int32) PublicationMonitor.EnumTracerTokenHistory(Int32) Method

정의

모니터링되는 트랜잭션 게시에 삽입된 단일 추적 프로그램 토큰 레코드에 대한 구독자 대기 시간 정보를 반환합니다. Returns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication.

public:
 System::Data::DataSet ^ EnumTracerTokenHistory(int tracerTokenId);
public System.Data.DataSet EnumTracerTokenHistory (int tracerTokenId);
Public Function EnumTracerTokenHistory (tracerTokenId As Integer) As DataSet
매개 변수
tracerTokenId
Int32 Int32 Int32

추적 프로그램 토큰을 고유하게 식별하는 ID 값을 지정하는 Int32 값입니다. An Int32 value that specifies the ID value that uniquely identifies the tracer token.

반환

다음과 같은 열이 포함된 DataSet 개체입니다. A DataSet object that contains the following columns.

Column Data type Description
distributor_latency Int64 Number of seconds between the tracer token record being committed at the Publisher and being committed at the Distributor.
subscriber String Name of the Subscriber that received the tracer token.
subscriber_db String Name of the subscription database into which the tracer token record was inserted.
subscriber_latency Int64 Number of seconds between the tracer token record being committed at the Distributor and being committed at the Subscriber.
overall_latency Int64 Number of seconds between the tracer token record being committed at the Publisher and being committed at the Subscriber.
Column Data type Description
distributor_latency Int64 Number of seconds between the tracer token record being committed at the Publisher and being committed at the Distributor.
subscriber String Name of the Subscriber that received the tracer token.
subscriber_db String Name of the subscription database into which the tracer token record was inserted.
subscriber_latency Int64 Number of seconds between the tracer token record being committed at the Distributor and being committed at the Subscriber.
overall_latency Int64 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. 호출 EnumTracerTokens 모니터링 되는 게시에 삽입 된 추적 프로그램 토큰을 가져오기 위해.Call EnumTracerTokens to get the tracer tokens inserted into the monitored publication.

EnumTracerTokenHistory 메서드 트랜잭션 게시에 대해서만 유효 합니다.The EnumTracerTokenHistory method is only valid for transactional publications.

EnumTracerTokenHistory 메서드 db_owner 또는 replmonitor 배포 데이터베이스의 고정 데이터베이스 역할의 멤버만 호출할 수 있습니다.The EnumTracerTokenHistory method can only be called by members of the db_owner or replmonitor fixed database roles in the distribution database.

호출 EnumTracerTokenHistory 를 실행 하는 것과 같습니다 sp_helptracertokenhistory (Transact SQL)합니다.Calling EnumTracerTokenHistory is equivalent to executing sp_helptracertokenhistory (Transact-SQL).

적용 대상

추가 정보