PublicationMonitor.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).
請參閱
參考
Microsoft.SqlServer.Replication 命名空間