EnumTracerTokens 方法
Returns all tracer tokens that have been inserted into the monitored transactional publication.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public Function EnumTracerTokens As ArrayList
用法
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
返回值
类型:System.Collections. . :: . .ArrayList
An ArrayList of TracerToken objects.
注释
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).
The EnumTracerTokenHistory method is available only with SQL Server 2005.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.