ReplicationDatabase.EnumConflictTables 메서드

Returns conflict information for all merge publications and subscriptions that use the replication database.

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

구문

‘선언
Public Function EnumConflictTables ( _
    publication As String _
) As ArrayList
‘사용 방법
Dim instance As ReplicationDatabase 
Dim publication As String 
Dim returnValue As ArrayList 

returnValue = instance.EnumConflictTables(publication)
public ArrayList EnumConflictTables(
    string publication
)
public:
ArrayList^ EnumConflictTables(
    String^ publication
)
member EnumConflictTables : 
        publication:string -> ArrayList
public function EnumConflictTables(
    publication : String
) : ArrayList

매개 변수

  • publication
    유형: System.String
    A String value that specifies the name of the publication. If publication is nullnull 참조(Visual Basic에서는 Nothing), then conflict information for all publications using the database is returned.

반환 값

유형: System.Collections.ArrayList
An ArrayList of ArticleConflict objects.

예외

예외 조건
ArgumentException

When publication is longer than 128 Unicode characters or contains null characters.

주의

The EnumConflictTables method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.

Calling EnumConflictTables is equivalent to executing sp_helpmergearticleconflicts(Transact-SQL) on the replication database.

참고 항목

참조

ReplicationDatabase 클래스

Microsoft.SqlServer.Replication 네임스페이스