语言

TransSubscription.SubscriberType 属性

定义

在订阅者处获取或设置数据变更的更新行为。

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

属性值

一个TransSubscriberType值。

注解

SubscriberType必须在创建订阅前设置,且一旦创建订阅后无法更改。

SubscriberType该属性只能由固定服务器角色的成员sysadmin、固定数据库角色的成员db_owner,或创建订阅的用户检索。

SubscriberType该属性只能由固定服务器角色的成员sysadmin或固定数据库角色的成员db_owner设置。

检索 SubscriberType 相当于执行 sp_helpsubscription(Transact-SQL)

设置 SubscriberType 等同于执行 sp_addsubscription(Transact-SQL)

适用于