Udostępnij za pośrednictwem


ReplicationDatabase.EnumTransPullSubscriptions Method

Definition

Returns a list of transactional and snapshot pull subscriptions that use the database.

public:
 System::Collections::ArrayList ^ EnumTransPullSubscriptions();
public System.Collections.ArrayList EnumTransPullSubscriptions ();
member this.EnumTransPullSubscriptions : unit -> System.Collections.ArrayList
Public Function EnumTransPullSubscriptions () As ArrayList

Returns

An ArrayList of TransPullSubscription objects.

Exceptions

When the database does not exist.

Remarks

The EnumTransPullSubscriptions method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.

Calling EnumTransPullSubscriptions is equivalent to executing sp_helppullsubscription (Transact-SQL).

Applies to