The EnumConflictTables method returns a QueryResults object enumerating the tables used for merge replication article conflict resolution.
object.EnumConflictTables( [ Publication ] ) as QueryResults
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list. |
| Publication | Optional. String identifying a merge replication publication by name and restricting output to only those tables used by articles in the publication. |
A QueryResults object containing one result set defined by these columns.
| Column | Data type | Description |
|---|---|---|
| article | nvarchar(129) | Merge replication article name. |
| source_owner | nvarchar(129) | Name of the owner of the table providing article data. |
| source_object | nvarchar(129) | Name of the table providing article data. |
| conflict_table | nvarchar(129) | Name of the replication-implemented table supporting conflict resolution. |
| guidcolname | nvarchar(129) | Name of column uniquely identifying rows in the source table. |
| centralized_conflicts | integer | When 1, conflict resolution occurs at the Publisher of the publication. When 0, Subscribers resolve conflicts. |
HRESULT EnumConflictTables(LPSQLDMOQUERYRESULTS *ppResults,
SQLDMO_LPCSTR Publication = NULL);