Delen via


MergePublication.MergeArticles Property

Gets the existing articles in the merge publication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property MergeArticles As MergeArticleCollection
    Get
'Usage
Dim instance As MergePublication
Dim value As MergeArticleCollection

value = instance.MergeArticles
public MergeArticleCollection MergeArticles { get; }
public:
property MergeArticleCollection^ MergeArticles {
    MergeArticleCollection^ get ();
}
member MergeArticles : MergeArticleCollection
function get MergeArticles () : MergeArticleCollection

Remarks

A MergeArticle object in the collection can be accessed from MergeArticles using an [Int32] index value or using a [String] index that is the Name property of the article.

The MergeArticles property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

Retrieving MergeArticles is equivalent to executing sp_helpmergepublication.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.