ReplicationDatabase.EnumReplicationStoredProcedures Method
Returns all user-defined stored procedure objects in the database.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumReplicationStoredProcedures As ArrayList
'Usage
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
Return Value
Type: System.Collections.ArrayList
An ArrayList of ReplicationStoredProcedure objects.
Exceptions
Exception | Condition |
---|---|
ApplicationException | When the database does not exist. |
Remarks
Calling EnumReplicationStoredProcedures requires SELECT permissions on the sys.procedures (Transact-SQL) catalogue view and on the sys.syscomments (Transact-SQL) system table.