SubscriptionType Property

Replication Programming

Replication Programming

SubscriptionType Property

The SubscriptionType property specifies whether the subscription is push, pull, or anonymous.

Applies To

SQLDistribution Object

SQLMerge Object

Syntax

object.SubscriptionType [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value SUBSCRIPTION_TYPE constant that specifies the type of subscription.
Remarks

The publication must be configured to support the specified subscription type.

The default is ANONYMOUS.

Data Type

SUBSCRIPTION_TYPE

Modifiable

Read/write

Prototype C/C++

HRESULT get_SubscriptionType(SUBSCRIPTION_TYPE *pVal);

HRESULT put_SubscriptionType(SUBSCRIPTION_TYPE newVal);