다음을 통해 공유


ReplicationDatabase.EnumTransConflictCounts Method

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

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

구문

‘선언
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

매개 변수

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

반환 값

An ArrayList of TransConflictCount objects.

주의

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 지연 업데이트 충돌 검색 및 해결.

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

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

ReplicationDatabase Class
ReplicationDatabase Members
Microsoft.SqlServer.Replication Namespace