共用方式為


PublicationMonitor.EnumTracerTokens Method

Definition

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

public:
 System::Collections::ArrayList ^ EnumTracerTokens();
public System.Collections.ArrayList EnumTracerTokens ();
member this.EnumTracerTokens : unit -> System.Collections.ArrayList
Public Function EnumTracerTokens () As ArrayList

Returns

An ArrayList of TracerToken objects.

Remarks

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

Applies to

See also