SubscriberType プロパティ

サブスクリプションがサーバー サブスクリプションかクライアント サブスクリプションかを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Property SubscriberType As MergeSubscriberType
    Get
    Set
'使用
Dim instance As MergePullSubscription
Dim value As MergeSubscriberType

value = instance.SubscriberType

instance.SubscriberType = value
public MergeSubscriberType SubscriberType { get; set; }
public:
property MergeSubscriberType SubscriberType {
    MergeSubscriberType get ();
    void set (MergeSubscriberType value);
}
member SubscriberType : MergeSubscriberType with get, set
function get SubscriberType () : MergeSubscriberType
function set SubscriberType (value : MergeSubscriberType)

説明

既存のサブスクリプションに SubscriberType プロパティは設定できません。

SubscriberType プロパティを取得できるのは、サブスクライバ側の固定サーバー ロール sysadmin のメンバ、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバだけです。

SubscriberType プロパティを設定できるのは、サブスクライバ側の固定サーバー ロール sysadmin のメンバ、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバだけです。

SubscriberType プロパティを取得すると、sp_helpmergepullsubscription を実行したのと同じことになります。

SubscriberType プロパティを設定すると、sp_addmergepullsubscription を実行したのと同じことになります。

この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。