Share via


TransPublication.PostTracerToken 메서드

Posts a tracer token into the Publisher log to begin the process of determining latency.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Function PostTracerToken As Integer
‘사용 방법
Dim instance As TransPublication 
Dim returnValue As Integer 

returnValue = instance.PostTracerToken()
public int PostTracerToken()
public:
int PostTracerToken()
member PostTracerToken : unit -> int
public function PostTracerToken() : int

반환 값

유형: System.Int32

주의

The PostTracerToken method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Calling PostTracerToken is equivalent to executing sp_posttracertoken.

참고 항목

참조

TransPublication 클래스

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

트랜잭션 복제에 대한 대기 시간 측정 및 연결 유효성 검사(RMO 프로그래밍)

트랜잭션 복제에 대한 대기 시간 측정 및 연결 유효성 검사