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
public ArrayList EnumRegisteredSubscribers ()
public:
ArrayList^ EnumRegisteredSubscribers ()
public ArrayList EnumRegisteredSubscribers ()
public function EnumRegisteredSubscribers () : ArrayList

Return Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReplicationServer Class
ReplicationServer Members
Microsoft.SqlServer.Replication Namespace