MergeSubscription.SubscriberType Property

Definition

Gets or sets whether the subscription is a client or server subscription.

public:
 property Microsoft::SqlServer::Replication::MergeSubscriberType SubscriberType { Microsoft::SqlServer::Replication::MergeSubscriberType get(); void set(Microsoft::SqlServer::Replication::MergeSubscriberType value); };
public Microsoft.SqlServer.Replication.MergeSubscriberType SubscriberType { get; set; }
member this.SubscriberType : Microsoft.SqlServer.Replication.MergeSubscriberType with get, set
Public Property SubscriberType As MergeSubscriberType

Property Value

A MergeSubscriberType value.

Remarks

The SubscriberType property can only be retrieved by members of the sysadmin fixed server role at the Publisher, members of the db_owner fixed database role on the publication database, or members of the publication access list for the publication to which the subscription belongs.

The SubscriberType property can only be set by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Retrieving SubscriberType is equivalent to executing sp_helpmergesubscription.

Setting SubscriberType is equivalent to executing sp_addmergesubscription or sp_changemergesubscription.

Applies to