Share via


DistributionPublication.Type Property

Definition

Gets or sets the type of replication for this publication.

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

Property Value

A PublicationType value.

Remarks

Only values of Transactional and Snapshot are allowed for this property.

The Type property cannot be changed for an existing publication.

The Type 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 Type property can only be set by members of the db_owner fixed database role on the distribution database.

Applies to