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 네임스페이스