Méthode TransPublication.PostTracerToken
Posts a tracer token into the Publisher log to begin the process of determining latency.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Function PostTracerToken As Integer
'Utilisation
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
Valeur de retour
Type : System.Int32
Notes
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.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Replication
Autres ressources
Mesurer la latence et valider les connexions pour la réplication transactionnelle