Freigeben über


ReplicationDatabase.EnumReplicationStoredProcedures-Methode

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

Rückgabewert

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

Ausnahmen

Ausnahme Bedingung
ApplicationException

When the database does not exist.

Hinweise

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

Siehe auch

Verweis

ReplicationDatabase Klasse

Microsoft.SqlServer.Replication-Namespace