TransPublication.PostTracerToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Posts a tracer token into the Publisher log to begin the process of determining latency.
public:
int PostTracerToken();
public int PostTracerToken ();
member this.PostTracerToken : unit -> int
Public Function PostTracerToken () As Integer
Returns
A tracer token to post.
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.