共用方式為


ReplicationDatabase.EnumReplicationUserDefinedFunctions Method

Definition

Returns a list of user-defined functions in the database.

public:
 System::Collections::ArrayList ^ EnumReplicationUserDefinedFunctions();
public System.Collections.ArrayList EnumReplicationUserDefinedFunctions ();
member this.EnumReplicationUserDefinedFunctions : unit -> System.Collections.ArrayList
Public Function EnumReplicationUserDefinedFunctions () As ArrayList

Returns

An ArrayList of ReplicationUserDefinedFunction objects.

Exceptions

When the database does not exist.

When the version is not Microsoft SQL Server 2005 or later.

Remarks

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

Applies to