共用方式為


ReplicationDatabase.EnumTransConflictCounts(String, String, String) Method

Definition

Returns information on conflicts stored in an updating transactional publication or subscription database.

public:
 System::Collections::IEnumerable ^ EnumTransConflictCounts(System::String ^ publicationName, System::String ^ publisherName, System::String ^ publicationDB);
public System.Collections.IEnumerable EnumTransConflictCounts (string publicationName, string publisherName, string publicationDB);
member this.EnumTransConflictCounts : string * string * string -> System.Collections.IEnumerable
Public Function EnumTransConflictCounts (publicationName As String, publisherName As String, publicationDB As String) As IEnumerable

Parameters

publicationName
String

The name of the publication. publicationName is a required parameter.

publisherName
String

The name of the Publisher server. publisherName is only supported on MicrosoftSQL Server 2005 and later versions.

publicationDB
String

The name of the published database. publicationDB is only supported on SQL Server 2005 and later versions.

Returns

An ArrayList of TransConflictCount objects.

Remarks

The EnumTransConflictCounts method can be called when connected to a subscription database that supports queued updating. Conflict information for queued updating Subscribers can be retrieved from the publication database by calling EnumTransConflictCounts and supplying null values for the publicationDB or publisherName parameters. For more information, see Queued Updating Conflict Detection and Resolution.

The EnumTransConflictCounts method can only be called by members of the sysadmin fixed server role, by members of the db_owner fixed database role, or by users in the publication access list (PAL).

Applies to