ReplicationServer.EnumSubscriberSubscriptions(String, Int32) ReplicationServer.EnumSubscriberSubscriptions(String, Int32) ReplicationServer.EnumSubscriberSubscriptions(String, Int32) Method

Definition

Returns the subscriptions on a Subscriber server.

public:
 System::Collections::ArrayList ^ EnumSubscriberSubscriptions(System::String ^ databaseName, int subscriptionType);
public System.Collections.ArrayList EnumSubscriberSubscriptions (string databaseName, int subscriptionType);
Public Function EnumSubscriberSubscriptions (databaseName As String, subscriptionType As Integer) As ArrayList

Parameters

databaseName
String String String

A String value that specifies the database name from which the subscriptions are enumerated. Use a null value to enumerate subscriptions in all databases on the Subscriber.

subscriptionType
Int32 Int32 Int32

An integer value that specifies the subscription type for the returned subscription:

Push

Pull and anonymous

Both

Returns

Remarks

The structure holds limited information about the subscription.

The EnumSubscriberSubscriptions method can only be called by members of the db_owner fixed database role on the subscription database.

Applies to