Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The HasSubscription property is TRUE if a subscription is visible to the referenced publication.
Syntax
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);
Remarks
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.