Share via


DistributionPublication.Attributes Property

Definition

Gets or sets the publication attributes for the distribution publication.

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.

The Attributes property cannot be changed for an existing publication.

The Attributes property can only be retrieved by members of the sysadmin fixed server role at the Distributor, by members of the db_owner fixed database role on the distribution database, or by users in the publication access list (PAL).

The Attributes property can only be set by members of the db_owner fixed database role on the distribution database.

Applies to