Compartilhar via


Método ReplicationServer.EnumRegisteredSubscribers

Returns the Subscribers that are registered at a Publisher.

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

Sintaxe

'Declaração
Public Function EnumRegisteredSubscribers As ArrayList
'Uso
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

Valor de retorno

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

Comentários

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.

Consulte também

Referência

ReplicationServer Classe

Namespace Microsoft.SqlServer.Replication