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

异常

异常 条件
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.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.