Partager via


Méthode EnumRegisteredSubscribers

Returns the Subscribers that are registered at a Publisher.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Function EnumRegisteredSubscribers As ArrayList
'Utilisation
Dim instance As ReplicationServer
Dim returnValue As ArrayList

returnValue = instance.EnumRegisteredSubscribers()
public ArrayList EnumRegisteredSubscribers()
public:
ArrayList^ EnumRegisteredSubscribers()
member EnumRegisteredSubscribers : unit -> ArrayList 
public function EnumRegisteredSubscribers() : ArrayList

Valeur de retour

Type : System.Collections. . :: . .ArrayList
An ArrayList of RegisteredSubscriber objects.

Notes

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. The EnumRegisteredSubscribers method is provided for backward compatibility with previous versions of SQL Server.