Megosztás a következőn keresztül:


ReplicationServer.EnumRegisteredSubscribers Method

Returns the Subscribers that are registered at a Publisher.

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

Syntax

'Declaration
Public Function EnumRegisteredSubscribers As ArrayList
'Usage
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

Return Value

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

Remarks

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.