Partilhar via


Método ReplicationDatabase.EnumReplicationStoredProcedures

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public Function EnumReplicationStoredProcedures As ArrayList
'Uso
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

Valor de retorno

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

Exceções

Exceção Condição
ApplicationException

When the database does not exist.

Comentários

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

Consulte também

Referência

ReplicationDatabase Classe

Namespace Microsoft.SqlServer.Replication