Article.ArticleId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.