Share via


DistributionPublishers Collection

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

The DistributionPublishers collection contains DistributionPublisher objects that expose the properties of Publishers using the referenced Distributor.

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

주의

With the DistributionPublishers collection, you can:

  • Add a Publisher to a Distributor.

  • Generate a Transact-SQL command batch to script Publisher configuration for all Publishers using a Distributor.

  • Remove a Publisher from a Distributor.

To remove a Publisher from a Distributor

  1. Get a DistributionPublisher object from the DistributionPublishers collection of a connected Distributor object.

  2. Use the Remove method.