EnumConflictTables 메서드
Returns conflict information for all merge publications and subscriptions that use the replication database.
네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo.dll의 Microsoft.SqlServer.Rmo
구문
‘선언
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 nullNothingnullptrunitnull 참조(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.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.