DistributionPublication Object (SQL-DMO)

The DistributionPublication object exposes the properties of a Distributor’s image of a snapshot, transactional, or merge replication publication.

Remarks

For snapshot and transactional replication, a replication Distributor maintains an image of articles defining a publication. The Distributor replicates the articles to Subscribers, enabling one type of replication load balancing.

Use DistributionPublication object methods to monitor merge replication.

There is no requirement that a Microsoft® SQL Server™ installation create Distributor-maintained data images. Snapshot and transactional replication publications created on the Distributor enable one type of third-party, or heterogeneous, replication.

With the DistributionPublication object, you can:

For more information about using SQL-DMO in heterogeneous replication, see Programming Transactional and Snapshot Replication from Heterogeneous Data Sources.


Note DistributionPublication object properties are read/write only when using the object to create a distribution publication. When a DistributionPublication object references a Distributor’s image of an existing publication, all properties are read-only.


Methods
BeginAlter Method EnumSnapshotAgentView Method
CancelAlter Method EnumSubscriptionViews Method
DoAlter Method GetAgentsStatus Method (DistributionPublication, DistributionPublisher)
EnumLogReaderAgentView Method Remove Method (Objects)

Properties
Description Property PublicationDB Property
ID Property PublicationType Property
LogReaderAgent Property SnapshotAgent Property
Name Property VendorName Property
PublicationAttributes Property  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.