Método TransPublication.PostTracerToken
Posts a tracer token into the Publisher log to begin the process of determining latency.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public Function PostTracerToken As Integer
'Uso
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
Valor de retorno
Tipo: System.Int32
Comentários
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.
Consulte também
Referência
Namespace Microsoft.SqlServer.Replication
Outros recursos
Medir a latência e validar conexões para replicação transacional (Programação RMO)
Medir a latência e validar as conexões para a replicação transacional