How to set up the distribution Publisher (Visual Basic)

To write a SQL-DMO Visual Basic application that sets up the distribution Publisher

  1. Declare the SQLServer object and connect to a server running Microsoft® SQL Server™.
  2. Create the DistributionPublisher object and add it to the Distributor object.
  3. Create the publication.
  4. Create articles.
  5. Create Subscribers.
  6. Disconnect and close the SQLServer object.
See Also
Using SQL-DMO and the Replication Distributor Interface  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.