TransSubscription.SubscriberType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在订阅者处获取或设置数据变更的更新行为。
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
属性值
注解
SubscriberType必须在创建订阅前设置,且一旦创建订阅后无法更改。
SubscriberType该属性只能由固定服务器角色的成员sysadmin、固定数据库角色的成员db_owner,或创建订阅的用户检索。
SubscriberType该属性只能由固定服务器角色的成员sysadmin或固定数据库角色的成员db_owner设置。
检索 SubscriberType 相当于执行 sp_helpsubscription(Transact-SQL)。
设置 SubscriberType 等同于执行 sp_addsubscription(Transact-SQL)。