Udostępnij za pośrednictwem


MergePullSubscription.SubscriberType Property

Definition

Gets or sets whether the subscription is a server or client 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

You cannot set the SubscriberType property for an existing subscription.

The SubscriberType property can only be retrieved by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

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

Retrieving the SubscriberType property is equivalent to executing sp_helpmergepullsubscription.

Setting the SubscriberType property is equivalent to executing sp_addmergepullsubscription.

Applies to

See also