Поделиться через


DistributionSubscription Object

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

The DistributionSubscription object exposes the properties of subscription to a publication maintained by a Distributor.

Модель объектов SQL-DMO, показывающая текущий объект

Properties

DistributionAgent Property

SubscriptionDB Property

Name Property

SubscriptionType Property

Status Property (Subscription Objects)

SyncType Property

Subscriber Property

 

Methods

BeginAlter Method

DoAlter Method

CancelAlter 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 that enable one type of replication load balancing.

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 DistributionSubscription object, you can:

  • Create a Distributor-originated (push) subscription to a heterogeneous replication publication.
  • Enable or disable a subscription to a publication maintained by the Distributor.
  • Remove a push subscription to a heterogeneous replication publication.
ms131917.note(ru-ru,SQL.90).gifПримечание.
DistributionSubscription object properties are read/write only when the object is being used to create a subscription. When a DistributionSubscription object references a Distributor's image of an existing subscription, all properties are read-only.

The DistributionSubscription object is compatible with instances of SQL Server versions 7.0 and later. However, the DistributionSubscription2 object extends the functionality of the DistributionSubscription object for use with features that were introduced in SQL Server 2000.

См. также

Справочник

DistributionSubscription2 Object

Справка и поддержка

Получение помощи по SQL Server 2005