语言

TransPullSubscription.Attributes 属性

定义

获取或设置订阅支持的交易性出版物属性。

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

属性值

一个PublicationAttributes值。

注解

枚 PublicationAttributes 举支持该 FlagsAttribute 选项,允许按位组合枚举值。

只有 ImmediateSync 的 PublicationAttributes 和 IndependentAgent 值由该Attributes属性支持;其他所有值被忽略。

你不能为现有订阅设置属性 Attributes 。

Attributes该属性只能由订阅者中固定服务器角色的成员sysadmin或订阅数据库中固定数据库角色的成员db_owner检索。

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

取回 Attributes 财产等同于执行 sp_helppullsubscription。

设置属性 Attributes 等同于执行 sp_addpullsubscription。

适用于