Share via


DistributionPublication.DistributionArticles Property

Returns information about the articles in the publication stored at the Distributor.

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

Syntax

'Declaration
Public ReadOnly Property DistributionArticles As DistributionArticleCollection
    Get
'Usage
Dim instance As DistributionPublication
Dim value As DistributionArticleCollection

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

Remarks

A DistributionArticle object in the returned DistributionArticleCollection can be accessed from the Item property. This can be done using an [Int32] index value or using a [String] index value that is the Name of the article.

The DistributionArticles property can only be retrieved by members of the db_owner fixed database role on the distribution database.

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