EnumReplicationDatabases 方法

Returns the databases enabled for replication.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Function EnumReplicationDatabases As ArrayList
用法
Dim instance As ReplicationServer
Dim returnValue As ArrayList

returnValue = instance.EnumReplicationDatabases()
public ArrayList EnumReplicationDatabases()
public:
ArrayList^ EnumReplicationDatabases()
member EnumReplicationDatabases : unit -> ArrayList 
public function EnumReplicationDatabases() : ArrayList

注释

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.

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