Freigeben über


PublicationMonitor.EnumTracerTokens-Methode

Returns all tracer tokens that have been inserted into the monitored transactional publication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Function EnumTracerTokens As ArrayList
'Usage
Dim instance As PublicationMonitor 
Dim returnValue As ArrayList 

returnValue = instance.EnumTracerTokens()
public ArrayList EnumTracerTokens()
public:
ArrayList^ EnumTracerTokens()
member EnumTracerTokens : unit -> ArrayList
public function EnumTracerTokens() : ArrayList

Rückgabewert

Typ: System.Collections.ArrayList
An ArrayList of TracerToken objects.

Hinweise

The EnumTracerTokens method is only valid for transactional publications.

The EnumTracerTokens method can only be called by members of the db_owner or replmonitor fixed database roles in the distribution database.

Calling EnumTracerTokens is equivalent to executing sp_helptracertokens (Transact-SQL).

Siehe auch

Verweis

PublicationMonitor Klasse

Microsoft.SqlServer.Replication-Namespace

Andere Ressourcen

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