Metodo PostTracerToken

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

Spazio dei nomi:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Function PostTracerToken As Integer
'Utilizzo
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

Valore restituito

Tipo: System. . :: . .Int32

Osservazioni

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.

The PostTracerToken method is only available for instances of SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.