Share via


Article.ArticleId 속성

Gets the article ID value.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public ReadOnly Property ArticleId As Integer 
    Get
‘사용 방법
Dim instance As Article 
Dim value As Integer 

value = instance.ArticleId
public int ArticleId { get; }
public:
property int ArticleId {
    int get ();
}
member ArticleId : int
function get ArticleId () : int

속성 값

유형: System.Int32
The article ID.

주의

The ArticleID 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 ArticleID is equivalent to executing sp_helparticle(Transact-SQL) for transactional or snapshot replication or executing sp_helpmergearticle(Transact-SQL) for merge replication.

참고 항목

참조

Article 클래스

Microsoft.SqlServer.Replication 네임스페이스