ReplicationDatabase.EnumReplicationUserDefinedAggregates 方法

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

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Function EnumReplicationUserDefinedAggregates As ArrayList
用法
Dim instance As ReplicationDatabase 
Dim returnValue As ArrayList 

returnValue = instance.EnumReplicationUserDefinedAggregates()
public ArrayList EnumReplicationUserDefinedAggregates()
public:
ArrayList^ EnumReplicationUserDefinedAggregates()
member EnumReplicationUserDefinedAggregates : unit -> ArrayList
public function EnumReplicationUserDefinedAggregates() : ArrayList

返回值

类型:System.Collections.ArrayList
An ArrayList of ReplicationUserDefinedAggregate objects.

异常

异常 条件
ApplicationException

When the database does not exist.

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

注释

Calling EnumReplicationUserDefinedAggregates requires SELECT permissions on the sys.objects (Transact-SQL) catalogue view.

请参阅

参考

ReplicationDatabase 类

Microsoft.SqlServer.Replication 命名空间