Condividi tramite


Classe PublicationMonitorCollection

A collection of PublicationMonitor objects that represents publications at the Distributor.

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

Sintassi

'Dichiarazione
Public NotInheritable Class PublicationMonitorCollection _
    Inherits ReplicationBaseCollection
'Utilizzo
Dim instance As PublicationMonitorCollection
public sealed class PublicationMonitorCollection : ReplicationBaseCollection
public ref class PublicationMonitorCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type PublicationMonitorCollection =  
    class
        inherit ReplicationBaseCollection
    end
public final class PublicationMonitorCollection extends ReplicationBaseCollection

Osservazioni

A PublicationMonitor object in the PublicationMonitorCollection can be accessed using an [Int32] index value or a [String,String] index value that is the name of the publication database and the name of the publication.

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.

Gerarchia di ereditarietà

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

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.