Condividi tramite


PublicationMonitor Class

Monitors a publication.

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

Sintassi

'Dichiarazione
Public NotInheritable Class PublicationMonitor
    Inherits ReplicationObject
public sealed class PublicationMonitor : ReplicationObject
public ref class PublicationMonitor sealed : public ReplicationObject
public final class PublicationMonitor extends ReplicationObject
public final class PublicationMonitor extends ReplicationObject

Osservazioni

An exception will be thrown if the specified Distributor, distribution database, and Publisher are not configured for replication.

PublicationMonitor requires a connection to the Distributor.

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

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.PublicationMonitor

Thread Safety

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

PublicationMonitor Members
Microsoft.SqlServer.Replication Namespace

Altre risorse

How to: Programmatically Monitor Replication (RMO Programming)