共用方式為


TransPublication.TransArticles 屬性

Represents the articles in the publication.

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

語法

'宣告
Public ReadOnly Property TransArticles As TransArticleCollection 
    Get
'用途
Dim instance As TransPublication 
Dim value As TransArticleCollection 

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

屬性值

型別:Microsoft.SqlServer.Replication.TransArticleCollection
A TransArticleCollection object.

備註

The TransArticles property can only be retrieved by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, or by users in the publication access list (PAL).

Retrieving the TransArticles property is equivalent to executing sp_helparticle.

請參閱

參考

TransPublication 類別

Microsoft.SqlServer.Replication 命名空間