EnumTransConflictCounts 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo.dll의 Microsoft.SqlServer.Rmo

구문

‘선언
Public Function EnumTransConflictCounts ( _
    publicationName As String, _
    publisherName As String, _
    publicationDB As String _
) As IEnumerable
‘사용 방법
Dim instance As ReplicationDatabase
Dim publicationName As String
Dim publisherName As String
Dim publicationDB As String
Dim returnValue As IEnumerable

returnValue = instance.EnumTransConflictCounts(publicationName, _
    publisherName, publicationDB)
public IEnumerable EnumTransConflictCounts(
    string publicationName,
    string publisherName,
    string publicationDB
)
public:
IEnumerable^ EnumTransConflictCounts(
    String^ publicationName, 
    String^ publisherName, 
    String^ publicationDB
)
member EnumTransConflictCounts : 
        publicationName:string * 
        publisherName:string * 
        publicationDB:string -> IEnumerable 
public function EnumTransConflictCounts(
    publicationName : String, 
    publisherName : String, 
    publicationDB : String
) : IEnumerable

매개 변수

  • publicationName
    형식: System. . :: . .String
    The name of the publication. publicationName is a required parameter.
  • publisherName
    형식: System. . :: . .String
    The name of the Publisher server. publisherName is only supported on MicrosoftSQL Server 2005 and later versions.
  • publicationDB
    형식: System. . :: . .String
    The name of the published database. publicationDB is only supported on SQL Server 2005 and later versions.

주의

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