Clase PublicationMonitor

Monitors a publication.

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

public sealed class PublicationMonitor : ReplicationObject

El tipo PublicationMonitor expone los siguientes miembros.

  NombreDescripción
Método públicoPublicationMonitor()()()()Creates a new instance of the PublicationMonitor class.
Método públicoPublicationMonitor(String, String, String, String, ServerConnection)Creates a new instance of the PublicationMonitor class with the specified name, distribution database, Publisher, publication database, and connection to the Distributor.
Arriba

  NombreDescripción
Propiedad públicaCachePropertyChangesGets or sets whether to cache changes made to the replication properties or to apply them immediately. (Se hereda de ReplicationObject.)
Propiedad públicaCacheRefreshPolicyInfraestructura.
Propiedad públicaConnectionContextGets or sets the connection to an instance of Microsoft SQL Server. (Se hereda de ReplicationObject.)
Propiedad públicaDescriptionGets the textual description of the publication.
Propiedad públicaDistributionDBNameGets the name of the distribution database used by the publication.
Propiedad públicaExcludeAnonymousSubscriptionsGets or sets whether anonymous subscriptions are excluded from or included in the monitor results.
Propiedad públicaIsExistingObjectGets whether the object exists on the server or not. (Se hereda de ReplicationObject.)
Propiedad públicaNameGets or sets the name of the monitored publication.
Propiedad públicaPublicationDBNameGets or sets the name of the publication database.
Propiedad públicaPublisherNameGets or sets the name of the Publisher.
Propiedad públicaQueueReaderAgentName
Propiedad públicaSqlServerNameGets the name of the Microsoft SQL Server instance to which this object is connected. (Se hereda de ReplicationObject.)
Propiedad públicaStatusGets the status of the publication.
Propiedad públicaStatusAndWarningGets the status and warnings of the referenced publication on the Distributor, including all of the agents associated for the publication.
Propiedad públicaTypeGets the type of replication in which the publication participates.
Propiedad públicaUserDataGets or sets an object property that allows users to attach their own data to the object. (Se hereda de ReplicationObject.)
Arriba

  NombreDescripción
Método públicoChangeMonitorThresholdChanges the monitoring threshold metric for a publication.
Método protegidoCheckValidCreationInfraestructura. (Se hereda de ReplicationObject.)
Método protegidoCheckValidDefinitionInfraestructura. (Se hereda de ReplicationObject.)
Método públicoCleanUpTracerTokenHistory(DateTime)Removes all metadata for tracer tokens older than the specified date from a database published using transactional replication.
Método públicoCleanUpTracerTokenHistory(Int32)Removes metadata for a specific tracer token from a database published using transactional replication.
Método públicoCommitPropertyChangesSends all the cached property change statements to the instance of Microsoft SQL Server. (Se hereda de ReplicationObject.)
Método públicoDecoupleDecouples the referenced replication object from the server. (Se hereda de ReplicationObject.)
Método públicoEnumErrorRecordsReturns information about errors associated with a specified error ID that occurred during a synchronization session.
Método públicoEnumLogReaderAgentReturns information for the Log Reader Agent job used by the monitored publication.
Método públicoEnumMonitorThresholdsReturns the replication monitor thresholds defined for this publication.
Método públicoEnumQueueReaderAgentReturns information for the Queue Reader Agent job used by the monitored publication.
Método públicoEnumSnapshotAgentReturns information for the Snapshot Agent job used by the monitored publication.
Método públicoEnumSubscriptionsReturns information on subscriptions that are subscribed to the monitored publication.
Método públicoEnumSubscriptions2Returns additional information on subscriptions that are subscribed to the monitored publication.
Método públicoEnumTracerTokenHistoryReturns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication.
Método públicoEnumTracerTokensReturns all tracer tokens that have been inserted into the monitored transactional publication.
Método públicoEquals (Se hereda de Object.)
Método protegidoFinalize (Se hereda de Object.)
Método protegidoGetChangeCommandInfraestructura. (Se hereda de ReplicationObject.)
Método protegidoGetCreateCommandInfraestructura. (Se hereda de ReplicationObject.)
Método protegidoGetDropCommandInfraestructura. (Se hereda de ReplicationObject.)
Método públicoGetHashCode (Se hereda de Object.)
Método públicoGetType (Se hereda de Object.)
Método protegidoInternalRefreshInfraestructura. (Se hereda de ReplicationObject.)
Método públicoLoadLoads the properties of an existing object from the server. (Se hereda de ReplicationObject.)
Método públicoLoadPropertiesLoads the properties of an existing object from the server. (Se hereda de ReplicationObject.)
Método protegidoMemberwiseClone (Se hereda de Object.)
Método públicoRefreshReloads the properties of the object. (Se hereda de ReplicationObject.)
Método públicoToString (Se hereda de Object.)
Método públicoTransPendingCommandInfoReturns information about pending commands for a subscription.
Arriba

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.

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.

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Adiciones de comunidad

AGREGAR
Mostrar: