Este tema aún no ha recibido ninguna valoración - Valorar este tema

Clase PublisherMonitor

Monitors a replication Publisher.

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
public sealed class PublisherMonitor : ReplicationObject

El tipo PublisherMonitor expone los siguientes miembros.

  NombreDescripción
Método públicoPublisherMonitor()()()()Creates a new instance of the PublisherMonitor class.
Método públicoPublisherMonitor(String, ServerConnection)Creates a new instance of the PublisherMonitor class with the specified name and a 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úblicaDistributionDatabaseGets the name of the distribution database used by the Publisher.
Propiedad públicaExcludeAnonymousSubscriptionsGets whether or not information on anonymous subscriptions is returned.
Propiedad públicaIsExistingObjectGets whether the object exists on the server or not. (Se hereda de ReplicationObject.)
Propiedad públicaNameGets the name of the Publisher.
Propiedad públicaPublicationMonitorsRepresents a collection of PublicationMonitor objects, each of which represents a publication defined at the Publisher being monitored.
Propiedad públicaPublisherTypeGets the type of the database server that is the Publisher.
Propiedad públicaSqlServerNameGets the name of the Microsoft SQL Server instance to which this object is connected. (Se hereda de ReplicationObject.)
Propiedad públicaStatusAndWarningGets status information and warnings for the monitored threshold metrics on the Publisher.
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 protegidoCheckValidCreationInfraestructura. (Se hereda de ReplicationObject.)
Método protegidoCheckValidDefinitionInfraestructura. (Se hereda de ReplicationObject.)
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úblicoEnumDatabasePublicationsReturns information about publications that use a specified publication database.
Método públicoEnumDatabaseSubscriptionsReturns information on subscriptions that belong to publications that use a specified publication database.
Método públicoEnumDistributionAgentSessionDetailsReturns detailed information about a Distribution Agent session.
Método públicoEnumDistributionAgentSessionsReturns information about Distribution Agent sessions.
Método públicoEnumErrorRecordsReturns information on errors associated with a specified error ID that occurred during a synchronization session.
Método públicoEnumLogReaderAgentSessionDetailsReturns detailed information about a Log Reader Agent session.
Método públicoEnumLogReaderAgentSessionsReturns information about Log Reader Agent sessions.
Método públicoEnumMergeAgentSessionDetailsReturns detailed information about a Merge Agent session.
Método públicoEnumMergeAgentSessionDetails2Returns additional detailed information about a Merge Agent session.
Método públicoEnumMergeAgentSessionsReturns information about Merge Agent sessions.
Método públicoEnumMergeAgentSessions2Returns additional information about Merge Agent sessions.
Método públicoEnumPublicationsReturns information on publications at a monitored Publisher.
Método públicoEnumPublications2Returns additional information on publications at a monitored Publisher.
Método públicoEnumSnapshotAgentSessionDetailsReturns detailed information about a Snapshot Agent session.
Método públicoEnumSnapshotAgentSessionsReturns information about Snapshot Agent sessions.
Método públicoEnumSubscriptionsReturns information about subscriptions that belong to a publication at the monitored Publisher.
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.)
Arriba

Any method of PublisherMonitor will throw an exception if the Distributor is not installed and the distribution database does not exist.

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.
¿Te ha resultado útil?
(Caracteres restantes: 1500)

Adiciones de comunidad

AGREGAR
© 2013 Microsoft. Reservados todos los derechos.