Share via


EnumConflictTables Method

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

The EnumConflictTables method returns a QueryResults object that enumerates the tables used for merge replication article conflict resolution.

구문

object
.EnumConflictTables( [ Publication ] )as QueryResults

Parts

  • object
    Expression that evaluates to an object in the Applies To list.
  • Publication
    Optional string that identifies a merge replication publication by name and restricts output to only those tables used by articles in the publication.

Prototype (C/C++)

HRESULT EnumConflictTables(LPSQLDMOQUERYRESULTS *ppResults,
SQLDMO_LPCSTR Publication = NULL);

Returns

A QueryResults object that contains one result set defined by these columns.

Column Data type Description

article

nvarchar(129)

Merge replication article name.

centralized_conflicts

integer

When 1, conflict resolution occurs at the Publisher of the publication. When 0, Subscribers resolve conflicts.

conflict_table

nvarchar(129)

Name of the replication-implemented table that supports conflict resolution.

guidcolname

nvarchar(129)

Name of column uniquely that identifies rows in the source table.

source_object

nvarchar(129)

Name of the table that provides article data.

source_owner

nvarchar(129)

Name of the owner of the table that provides article data.

Applies To:

ReplicationDatabase Object