Condividi tramite


Metodo PublicationMonitor.EnumTracerTokens

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

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

Sintassi

'Dichiarazione
Public Function EnumTracerTokens As ArrayList
'Utilizzo
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

Valore restituito

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

Osservazioni

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).

Vedere anche

Riferimento

PublicationMonitor Classe

Spazio dei nomi Microsoft.SqlServer.Replication

Altre risorse

Misurare la latenza e convalidare le connessioni per la replica transazionale (programmazione RMO)