Udostępnij za pośrednictwem


SubscriptionType Property (Replication ActiveX)

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

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.

Applies To

SQLDistribution Object

SQLMerge Object

Remarks

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

The default is PULL.

Data Type

SUBSCRIPTION_TYPE

Modifiable

Read/write

Prototype C/C++

HRESULT get_SubscriptionType(SUBSCRIPTION_TYPE *pVal);
HRESULT put_SubscriptionType(SUBSCRIPTION_TYPE newVal);

Change History

Release History

12 December 2006

Changed content:
  • Removed content that incorrectly stated that anonymous subscriptions are deprecated.