Delen via


PublicationMonitor Class

Monitors a publication.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
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

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PublicationMonitor Members
Microsoft.SqlServer.Replication Namespace

Other Resources

How to: Programmatically Monitor Replication (RMO Programming)