Freigeben über


ReplicationDatabase.EnumConflictTables-Methode

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

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

Syntax

'Declaration
Public Function EnumConflictTables ( _
    publication As String _
) As ArrayList
'Usage
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

Parameter

  • publication
    Typ: System.String
    A String value that specifies the name of the publication. If publication is nullein NULL-Verweis (Nothing in Visual Basic), then conflict information for all publications using the database is returned.

Rückgabewert

Typ: System.Collections.ArrayList
An ArrayList of ArticleConflict objects.

Ausnahmen

Ausnahme Bedingung
ArgumentException

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

Hinweise

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.

Siehe auch

Verweis

ReplicationDatabase Klasse

Microsoft.SqlServer.Replication-Namespace