Freigeben über


HasSubscription Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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);

Hinweise

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.

Applies To:

MergePublication Object

TransPublication Object