SubscriberType Property (MergePullSubscription, MergeSubscription) (SQL-DMO)

The SubscriberType property defines subscription attributes.

Applies To
MergePullSubscription Object MergeSubscription Object

Syntax

object.SubscriberType [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer or constant value as described in Settings

Settings
Constant Value Description
SQLDMOMergeSubscriber_
Anonymous
3 Anonymous subscription
SQLDMOMergeSubscriber_Default 2 SQLDMOMergeSubscriber_
Local
SQLDMOMergeSubscriber_Global 1 Global subscription
SQLDMOMergeSubscriber_Local 2 Local subscription
SQLDMOMergeSubscriber_
Republishing
4 Republishing subscription

Data Type

Long, enumerated

Modifiable

Read/write when using the SQL-DMO object to create a subscription.

Read-only when the object references an existing subscription.

Prototype (C/C++)

HRESULT GetSubscriberType(
SQLDMO_MERGESUBSCRIBER_TYPE* pRetVal);

HRESULT SetSubscriberType(
SQLDMO_MERGESUBSCRIBER_TYPE NewValue);

  


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