共用方式為


PublisherMonitorCollection 類別

Represents a collection of PublisherMonitor objects.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public NotInheritable Class PublisherMonitorCollection _
    Inherits ReplicationBaseCollection
'用途
Dim instance As PublisherMonitorCollection
public sealed class PublisherMonitorCollection : ReplicationBaseCollection
public ref class PublisherMonitorCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type PublisherMonitorCollection =  
    class
        inherit ReplicationBaseCollection
    end
public final class PublisherMonitorCollection extends ReplicationBaseCollection

備註

A PublisherMonitor object in the PublisherMonitorCollection can be accessed using an [Int32] index value or using a [String] index value that is the name of the Publisher.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Replication. . :: . .ReplicationBaseCollection
    Microsoft.SqlServer.Replication..::..PublisherMonitorCollection

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。