ReplicationDatabase.EnumReplicationTables Método
Returns all user-defined table objects in the database.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
Public Function EnumReplicationTables As ArrayList
'Uso
Dim instance As ReplicationDatabase
Dim returnValue As ArrayList
returnValue = instance.EnumReplicationTables()
public ArrayList EnumReplicationTables()
public:
ArrayList^ EnumReplicationTables()
member EnumReplicationTables : unit -> ArrayList
public function EnumReplicationTables() : ArrayList
Valor devuelto
Tipo: System.Collections.ArrayList
An ArrayList of ReplicationTable objects.
Excepciones
Excepción | Condición |
---|---|
ApplicationException | When the database does not exist. |
Comentarios
The EnumReplicationTables method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.