DistributionPublications Collection (SQL-DMO)

The DistributionPublications collection contains DistributionPublication objects exposing the properties of publications managed by the Distributor.

Remarks

With the DistributionPublications collection, you can:

For more information about Distributor-managed publications, see DistributionPublication Object.

The Item method of the DistributionPublications collection supports member selection using the publication name or the ordinal position of the object in the collection. Additionally, when using the publication name to select an object from the collection, the Item method allows name qualification of the targeted publication by using the publication database. For example:

Set oDistPublication = _
   oDistPublisher.DistributionPublications("authors", "pubs")

  

The Remove method of the DistributionPublications collection supports member targeting using either the unqualified publication name or the ordinal position of the object in the collection. When using the DistributionPublications collection to remove a publication, it is suggested that you use the Item method of the collection to extract the object referencing the correct publication, then use the Remove method of the DistributionPublication method to remove the targeted publication.

Methods
Add Method Refresh Method
Item Method Remove Method (Collections)

  


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