Udostępnij za pośrednictwem


ReplicationServer.EnumReplicationDatabases Method

Definition

Returns the databases enabled for replication.

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

Returns

An ArrayList of ReplicationDatabase objects.

Remarks

The EnumReplicationDatabases method can be called by members of the db_owner fixed database role and users in the publication access list (PAL) of any published database.

The EnumReplicationDatabases method is equivalent to the sp_helpreplicationdboption (Transact-SQL) stored procedure.

Applies to