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


HasSubscription Property

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

The HasSubscription property is TRUE if a subscription is visible to the referenced publication.

Синтаксис

object.HasSubscription

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasSubscription(LPBOOL pRetVal);

Замечания

Anonymous, Subscriber-originated (pull) subscriptions are not visible until after the Subscriber has performed initial synchronization. The HasSubscription property returns FALSE if all subscriptions to a publication are unsynchronized, anonymous, pull subscriptions.