หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Posts a tracer token into the Publisher log to begin the process of determining latency.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function PostTracerToken As Integer
'Usage
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
Return Value
Type: System.Int32
Remarks
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.
See Also
Reference
Microsoft.SqlServer.Replication Namespace
Other Resources
NIB Measure Latency and Validate Connections for Transactional Replication (RMO Programming)
Measure Latency and Validate Connections for Transactional Replication