Article.ArticleId Property

Definition

Gets the article ID value.

public:
 property int ArticleId { int get(); };
public int ArticleId { get; }
member this.ArticleId : int
Public ReadOnly Property ArticleId As Integer

Property Value

The article ID.

Remarks

The <xref:Microsoft.SqlServer.Replication.Article.ArticleID%2A> property can be retrieved by members of the sysadmin fixed server role at the Publisher and at the Subscriber (for republishing Subscribers). It can also be retrieved by members of the db_owner fixed database role on the publication database and by users who are members of the publication access list (PAL). For a MergeArticle object, this property can also be retrieved by members of the replmonitor fixed database role on the Distributor.

Retrieving <xref:Microsoft.SqlServer.Replication.Article.ArticleID%2A> is equivalent to executing sp_helparticle (Transact-SQL) for transactional or snapshot replication or executing sp_helpmergearticle (Transact-SQL) for merge replication.

Applies to