SQL-DMO
HasSubscription Property
The HasSubscription property is TRUE when a subscription is visible to the referenced publication.
Applies To
MergePublication Object | TransPublication Object |
Syntax
object.HasSubscription
Parts
object
Expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetHasSubscription(LPBOOL pRetVal);
Remarks
Anonymous, Subscriber-originated (pull) subscriptions are not visible until after the Subscriber has performed initial synchronization. The HasSubscription property will return FALSE if all subscriptions to a publication are unsynchronized, anonymous, pull subscriptions.