Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the databases enabled for replication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumReplicationDatabases As ArrayList
'Usage
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
Return Value
Type: System.Collections.ArrayList
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.