Поделиться через


Метод EnumReplicationStoredProcedures

Returns all user-defined stored procedure objects in the database.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Function EnumReplicationStoredProcedures As ArrayList
'Применение
Dim instance As ReplicationDatabase
Dim returnValue As ArrayList

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

Возвращаемое значение

Тип: System.Collections. . :: . .ArrayList
An ArrayList of ReplicationStoredProcedure objects.

Исключения

Исключение Условие
ApplicationException

When the database does not exist.

Замечания

Calling EnumReplicationStoredProcedures requires SELECT permissions on the sys.procedures (Transact-SQL) catalog view and on the sys.syscomments (Transact-SQL) system table.

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