Share via


TransArticles Collection

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The TransArticles collection contains TransArticle objects that reference the articles defined in a Microsoft SQL Server transactional or snapshot replication publication.

현재 개체를 보여 주는 SQL-DMO 개체 모델

Properties

주의

With the TransArticles collection, you can:

  • Create an article in a transactional or snapshot replication publication.

  • Remove an article from a transactional or snapshot replication publication.

For more information about creating transactional or snapshot replication articles by using the TransArticle object and TransArticles collection, see the TransArticle Object section.

To remove an article from a transactional or snapshot replication publication

  • Use the Remove method of the TransArticles collection, as in:

    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)