ReplicationDatabase.EnumTransPullSubscriptions Method

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

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

Syntax

'Declaration
Public Function EnumTransPullSubscriptions As ArrayList
public ArrayList EnumTransPullSubscriptions ()
public:
ArrayList^ EnumTransPullSubscriptions ()
public ArrayList EnumTransPullSubscriptions ()
public function EnumTransPullSubscriptions () : ArrayList

Rückgabewert

An ArrayList of TransPullSubscription objects.

Ausnahmen

Ausnahmetyp Bedingung
ApplicationException

When the database does not exist.

Hinweise

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).

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ReplicationDatabase Class
ReplicationDatabase Members
Microsoft.SqlServer.Replication Namespace