Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PublisherMonitor Class

 

Applies To: SQL Server 2016 Preview

Monitors a replication Publisher.

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

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

[<Sealed>]
type PublisherMonitor = 
    class
        inherit ReplicationObject
    end

NameDescription
System_CAPS_pubmethodPublisherMonitor()

Creates a new instance of the PublisherMonitor class.

System_CAPS_pubmethodPublisherMonitor(String, ServerConnection)

Creates a new instance of the PublisherMonitor class with the specified name and a connection to the Distributor.

NameDescription
System_CAPS_pubpropertyCachePropertyChanges

Gets or sets whether to cache changes made to the replication properties or to apply them immediately.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyCacheRefreshPolicy

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the monitor cache refresh policy.

System_CAPS_pubpropertyConnectionContext

Gets or sets the connection to an instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyDistributionDatabase

Gets the name of the distribution database used by the Publisher.

System_CAPS_pubpropertyExcludeAnonymousSubscriptions

Gets whether or not information on anonymous subscriptions is returned.

System_CAPS_pubpropertyIsExistingObject

Gets whether the object exists on the server or not.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyName

Gets the name of the Publisher.

System_CAPS_pubpropertyPublicationMonitors

Represents a collection of PublicationMonitor objects, each of which represents a publication defined at the Publisher being monitored.

System_CAPS_pubpropertyPublisherType

Gets the type of the database server that is the Publisher.

System_CAPS_pubpropertySqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)

System_CAPS_pubpropertyStatusAndWarning

Gets status information and warnings for the monitored threshold metrics on the Publisher.

System_CAPS_pubpropertyUserData

Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)

NameDescription
System_CAPS_pubmethodCommitPropertyChanges()

Sends all the cached property change statements to the instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubmethodDecouple()

Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodEnumDatabasePublications(String)

Returns information about publications that use a specified publication database.

System_CAPS_pubmethodEnumDatabaseSubscriptions(String, PublicationType, SubscriptionResultOption)

Returns information on subscriptions that belong to publications that use a specified publication database.

System_CAPS_pubmethodEnumDistributionAgentSessionDetails(String, String)

Returns detailed information about a Distribution Agent session.

System_CAPS_pubmethodEnumDistributionAgentSessions(String, Int32, Boolean)

Returns information about Distribution Agent sessions.

System_CAPS_pubmethodEnumErrorRecords(Int32)

Returns information on errors associated with a specified error ID that occurred during a synchronization session.

System_CAPS_pubmethodEnumLogReaderAgentSessionDetails(String, String)

Returns detailed information about a Log Reader Agent session.

System_CAPS_pubmethodEnumLogReaderAgentSessions(String, Int32, Boolean)

Returns information about Log Reader Agent sessions.

System_CAPS_pubmethodEnumMergeAgentSessionDetails(String, String)

Returns detailed information about a Merge Agent session.

System_CAPS_pubmethodEnumMergeAgentSessionDetails2(Int32)

Returns additional detailed information about a Merge Agent session.

System_CAPS_pubmethodEnumMergeAgentSessions(String, Int32, Boolean)

Returns information about Merge Agent sessions.

System_CAPS_pubmethodEnumMergeAgentSessions2(String, Int32, Boolean)

Returns additional information about Merge Agent sessions.

System_CAPS_pubmethodEnumPublications()

Returns information on publications at a monitored Publisher.

System_CAPS_pubmethodEnumPublications2()

Returns additional information on publications at a monitored Publisher.

System_CAPS_pubmethodEnumSnapshotAgentSessionDetails(String, String)

Returns detailed information about a Snapshot Agent session.

System_CAPS_pubmethodEnumSnapshotAgentSessions(String, Int32, Boolean)

Returns information about Snapshot Agent sessions.

System_CAPS_pubmethodEnumSubscriptions(PublicationType, SubscriptionResultOption)

Returns information about subscriptions that belong to a publication at the monitored Publisher.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodLoadProperties()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodRefresh()

Reloads the properties of the object. (Inherited from ReplicationObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

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.

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

Return to top

Community Additions

Show:
© 2015 Microsoft