Share via


TransPullSubscription.Attributes Property

Definition

Gets or sets the attributes of a transactional publication that are supported by the subscription.

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

Property Value

A PublicationAttributes value.

Remarks

The PublicationAttributes enumeration supports the FlagsAttribute option, which allows a bitwise combination of enumeration values.

Only the ImmediateSync and IndependentAgent values of PublicationAttributes are supported by the Attributes property; all other values are ignored.

You cannot set the Attributes property for an existing subscription.

The Attributes 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 Attributes 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 Attributes property is equivalent to executing sp_helppullsubscription.

Setting the Attributes property is equivalent to executing sp_addpullsubscription.

Applies to