共用方式為


DistributionPublication.DistributionArticles 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Property DistributionArticles As DistributionArticleCollection 
    Get
'用途
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

屬性值

型別:Microsoft.SqlServer.Replication.DistributionArticleCollection
A DistributionArticleCollection of DistributionArticle objects.

備註

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.

請參閱

參考

DistributionPublication 類別

Microsoft.SqlServer.Replication 命名空間