Freigeben über


ReplicationDatabase.EnumTransConflictCounts Method

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

Namespace: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public Function EnumTransConflictCounts ( _
    publicationName As String, _
    publisherName As String, _
    publicationDB As String _
) As IEnumerable
public IEnumerable EnumTransConflictCounts (
    string publicationName,
    string publisherName,
    string publicationDB
)
public:
IEnumerable^ EnumTransConflictCounts (
    String^ publicationName, 
    String^ publisherName, 
    String^ publicationDB
)
public IEnumerable EnumTransConflictCounts (
    String publicationName, 
    String publisherName, 
    String publicationDB
)
public function EnumTransConflictCounts (
    publicationName : String, 
    publisherName : String, 
    publicationDB : String
) : IEnumerable

Parameter

  • publicationName
    The name of the publication. publicationName is a required parameter.
  • publisherName
    The name of the Publisher server. publisherName is only supported on Microsoft SQL Server 2005 and later versions.
  • publicationDB
    The name of the published database. publicationDB is only supported on SQL Server 2005 and later versions.

Rückgabewert

An ArrayList of TransConflictCount objects.

Hinweise

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 Konflikterkennung und -lösung beim verzögerten Aktualisieren über eine Warteschlange.

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).

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ReplicationDatabase Class
ReplicationDatabase Members
Microsoft.SqlServer.Replication Namespace