Метод ReplicationDatabase.EnumReplicationTables
Returns all user-defined table objects in the database.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public Function EnumReplicationTables As ArrayList
'Применение
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
Возвращаемое значение
Тип: System.Collections.ArrayList
An ArrayList of ReplicationTable objects.
Исключения
Исключение | Условие |
---|---|
ApplicationException | When the database does not exist. |
Замечания
The EnumReplicationTables method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.