This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The EnumThirdPartyPublications2 method returns a QueryResults object that enumerates publications originating from heterogeneous data sources.
A QueryResults object that contains one result set defined by these columns.
When TRUE, allow anonymous, pull subscriptions.
When TRUE, allow (pull) subscriptions that originate at the Subscriber.
When TRUE, allow Subscriber to update article image and propagate the update to the Publisher.
Distribution database name.
When TRUE, publication is enabled for distribution using the Internet.
When TRUE, force immediate synchronization on publication subscription.
When TRUE, a synchronizing image of the publication is allowed.
When TRUE, a stand-alone agent enables the publication.
Data source name.
Name of the published database
Frequency used to replicate data. Interpret value using SQLDMO_REPFREQ_TYPE.
Replication method. Interpret the value using SQLDMO_REPLICATION_TYPE.
When TRUE, the publication derives from a heterogeneous source.
Name of vendor whose application created the publication.
An application can call the EnumThirdPartyVendorNames method to retrieve a distinct list of third-party vendor names. By specifying a specific vendor name in the bstrVendorName parameter, the application could then call EnumThirdPartyPublications2 method to enumerate publications created by that vendor.
If bstrVendorName is set to 'others' only third-party publications where the vendor_name column contains NULL or is empty are returned.
If an application calls EnumThirdPartyPublications2 on an instance of SQL Server version 7.0 and the bstrVendorName parameter is not NULL, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 or later" are returned. EnumThirdPartyPublications2 can be used with SQL Server 7.0 and Microsoft SQL Server 2000 or later if the bstrVendorName parameter is NULL.