Metoda ReplicationDatabase.EnumReplicationUserDefinedAggregates
Zwraca listę agregatów zdefiniowane przez użytkownika w bazie danych.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)
Składnia
'Deklaracja
Public Function EnumReplicationUserDefinedAggregates As ArrayList
'Użycie
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
Wartość zwracana
Typ: System.Collections.ArrayList
ArrayList z ReplicationUserDefinedAggregate obiektów.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ApplicationException | Jeśli baza danych nie istnieje. When the version is not Microsoft SQL Server 2005 or later. |
Uwagi
Wywołanie EnumReplicationUserDefinedAggregates wymaga uprawnienia wybierz na sys.Objects (Transact-SQL) wykazu widoku.
Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0.NET Framework.