The SubscriberType property defines subscription attributes.
MergePullSubscription Object | MergeSubscription Object |
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 |
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 |
Long, enumerated
Read/write when using the SQL-DMO object to create a subscription.
Read-only when the object references an existing subscription.
HRESULT GetSubscriberType(
SQLDMO_MERGESUBSCRIBER_TYPE* pRetVal);
HRESULT SetSubscriberType(
SQLDMO_MERGESUBSCRIBER_TYPE NewValue);