Metodo ReplicationDatabase.EnumReplicationStoredProcedures
Returns all user-defined stored procedure objects in the database.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Sintassi
'Dichiarazione
Public Function EnumReplicationStoredProcedures As ArrayList
'Utilizzo
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
Valore restituito
Tipo: System.Collections.ArrayList
An ArrayList of ReplicationStoredProcedure objects.
Eccezioni
Eccezione | Condizione |
---|---|
ApplicationException | When the database does not exist. |
Osservazioni
Calling EnumReplicationStoredProcedures requires SELECT permissions on the sys.procedures (Transact-SQL) catalogue view and on the sys.syscomments (Transact-SQL) system table.