HasSubscription Property (SQL-DMO)

The HasSubscription property is True when a subscription is visible to the referenced publication.

Applies To
MergePublication Object TransPublication Object

Syntax

object.HasSubscription

Part Description
object Expression that evaluates to an object in the Applies To list

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.

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasSubscription(LPBOOL pRetVal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.