EnumPublicationArticles Method (SQL-DMO)

The EnumPublicationArticles method returns a QueryResults object enumerating the publications and articles that replicate the referenced table or stored procedure.

Applies To
ReplicationStoredProcedure Object ReplicationTable Object

Syntax

object.EnumPublicationArticles() as QueryResults

Part Description
object Expression that evaluates to an object in the Applies To list

Returns

A QueryResults object containing one result set defined by these columns.

Column Data type Description
publication nvarchar(129) Name of publication in which the listed article appears.
reptype integer Publication type. Interpret return value by using SQLDMO_PUBLICATION_
TYPE.
article nvarchar(129) Article name.
article_type integer Article type. Interpret return value by using SQLDMO_ARTICLE_TYPE.
column_tracking integer When 1, change tracking occurs by the column.
article_resolver nvarchar(256) User-specified merge replication conflict resolver.

Prototype (C/C++)

HRESULT EnumPublicationArticles(
LPSQLDMOQUERYRESULTS* ppResults);

  


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