Compartilhar via


Classe PublicationMonitorCollection

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public NotInheritable Class PublicationMonitorCollection _
    Inherits ReplicationBaseCollection
'Uso
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

Comentários

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.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.