SubscriberType Property (MergePullSubscription, MergeSubscription)
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The SubscriberType property defines subscription attributes.
構文
object
.SubscriberType [= value]
Parts
- object
An expression that evaluates to an object in the Applies To list.
- value
A long integer or constant value as described in Settings.
Data Type
Long, enumerated
Modifiable
Read/write when using the SQL Distributed Management Objects (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);
Settings
Set the value argument using these SQLDMO_MERGESUBSCRIBER_TYPE values.
Constant | Value | Description |
---|---|---|
SQLDMOMergeSubscriber_Anonymous |
3 |
Anonymous subscription |
SQLDMOMergeSubscriber_Default |
2 |
SQLDMOMergeSubscriber_Local |
SQLDMOMergeSubscriber_Global |
1 |
Global subscription |
SQLDMOMergeSubscriber_Local |
2 |
Local subscription |
SQLDMOMergeSubscriber_Max |
4 |
SQLDMOMergeSubscriber_Republishing |
SQLDMOMergeSubscriber_Min |
1 |
SQLDMOMergeSubscriber_Global |
SQLDMOMergeSubscriber_Republishing |
4 |
Republishing subscription |
SQLDMOMergeSubscriber_Unknown |
256 |
Value not valid |