次の方法で共有


DistributionPublication Object

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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

現在のオブジェクトを表す SQL-DMO オブジェクト モデル

Properties

ID Property

PublicationDB Property

LogReaderAgent Property

PublicationType Property

Name Property

SnapshotAgent Property

PublicationAttributes Property

VendorName Property

Methods

BeginAlter Method

EnumSnapshotAgentView Method

CancelAlter Method

EnumSubscriptionViews Method

DoAlter Method

GetAgentsStatus Method (DistributionPublication, DistributionPublisher)

EnumLogReaderAgentView Method

Remove Method (Objects)

解説

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 an instance of Microsoft SQL Server 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:

  • Create a heterogeneous replication publication.
  • Configure replication agent use.
  • Remove a heterogeneous replication publication.
  • Monitor replication agents implementing publications.
ms138061.note(ja-jp,SQL.90).gifメモ :
DistributionPublication object properties are read/write only if the object is being used to create a distribution publication. If a DistributionPublication object references a Distributor's image of an existing publication, all properties are read-only.

The DistributionPublication object is compatible with instances of SQL Server 2000 and SQL Server version 7.0. However, the DistributionPublication2 object extends the functionality of the DistributionPublication object for use with features that were introduced in SQL Server 2000.

参照

関連項目

DistributionPublication2 Object

ヘルプおよび情報

SQL Server 2005 の参考資料の入手