共用方式為


TransPullSubscription.SubscriberType Property

Definition

Gets or sets the updating behavior of the subscription.

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

Property Value

A TransSubscriberType object.

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_helppullsubscription.

Setting the SubscriberType property is equivalent to executing sp_addpullsubscription.

Applies to