Compartir a través de


ReplicationServer.EnumReplicationDatabases Método

Returns the databases enabled for replication.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Function EnumReplicationDatabases As ArrayList
'Uso
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

Valor devuelto

Tipo: System.Collections.ArrayList
An ArrayList of ReplicationDatabase objects.

Comentarios

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.

Vea también

Referencia

ReplicationServer Clase

Espacio de nombres Microsoft.SqlServer.Replication