Freigeben über


TransPublication.PostTracerToken-Methode

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

Rückgabewert

Typ: System.Int32

Hinweise

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.

Siehe auch

Verweis

TransPublication Klasse

Microsoft.SqlServer.Replication-Namespace

Andere Ressourcen

Messen der Latenzzeit und Überprüfen der Verbindungen für die Transaktionsreplikation (RMO-Programmierung)

Messen der Latenzzeit und Überprüfen der Verbindungen bei Transaktionsreplikationen