Returns information on publications at a monitored Publisher.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Return ValueType: System.Data.DataSet
A DataSet object that contains the following columns.
ID of the publication.
Type of publication:
0 = Transactional.
1 = Snapshot.
2 = Merge.
Indicates if each subscription to this publication uses its own synchronization agent instance.
Indicates whether synchronization files are created or re-created each time the Snapshot Agent runs.
Indicates whether or not push subscriptions can be created for the given publication.
Indicates whether or not pull subscriptions can be created for the given publication.
Indicates whether or not anonymous subscriptions can be created for the given publication.
The name of the Snapshot Agent job for the publication.
The name of the Log Reader Agent job for the published database.
Description of the publication.
The name of the vendor if Publisher is not an instance of SQL Server.
The name of the Queue Reader Agent job for the published database.
Specifies if the display of a publication in the Replication folder in SQL Server Management Studio is suppressed:
0 = Display a heterogeneous publication in the Replication folder in SQL Server Management Studio.
1 = Suppress the display a heterogeneous publication in the Replication folder in SQL Server Management Studio.
Unique identifier of the Snapshot Agent job.
Number of subscriptions that currently belong to the publication.
Number of subscriptions currently being synchronized with the publication.
Number of errors that have occurred when synchronizing with the publication.
Number of publication monitor threshold warnings that have been generated by this publication.
Threshold for monitoring the duration of merge synchronizations over high-bandwidth local area network (LAN) connections.
The highest duration of a synchronization run that has generated a warning.
Threshold for monitoring for imminent expiration of subscriptions to merge publications.
The retention period of the publication, in hours.
The longest expiration of a merge subscription that has generated a warning.
You should commit any property changes to the PublisherMonitor object before calling this method because properties of this object may need to be loaded if they have not been loaded already.
The method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.