Méthode EnumConflictTables
Returns conflict information for all merge publications and subscriptions that use the replication database.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Function EnumConflictTables ( _
publication As String _
) As ArrayList
'Utilisation
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
Paramètres
- publication
Type : System. . :: . .String
A String value that specifies the name of the publication. If publication is nullNothingnullptrunitune référence Null (Nothing dans Visual Basic), then conflict information for all publications using the database is returned.
Valeur de retour
Type : System.Collections. . :: . .ArrayList
An ArrayList of ArticleConflict objects.
Exceptions
Exception | Condition |
---|---|
ArgumentException | When publication is longer than 128 Unicode characters or contains null characters. |
Notes
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.