The TransArticles collection contains TransArticle objects referencing the articles defined in a Microsoft® SQL Server™ transactional or snapshot replication publication.
With the TransArticles collection, you can:
For more information about creating transactional or snapshot replication articles by using the TransArticle object and TransArticles collection, see TransArticle Object.
To remove an article from a transactional or snapshot replication publication
oTransPublication.TransArticles.Remove("[Orders]")
When using the Item or Remove method, the TransArticles collection supports member identification using either name or ordinal reference syntax. For example:
Set oTransArticle = oTransPublication.TransArticles("[Products]")
Or:
Set oTransArticle = oTransPublication.TransArticles(7)
Add Method | Refresh Method |
Item Method | Remove Method (Collections) |
ItemByID Method |