UserDefinedAggregateCollection Class

The UserDefinedAggregateCollection class represents a collection of UserDefinedAggregate objects that represent all the database user-defined aggregates that are defined on a database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public NotInheritable Class UserDefinedAggregateCollection _
    Inherits SchemaCollectionBase
'Usage
Dim instance As UserDefinedAggregateCollection
public sealed class UserDefinedAggregateCollection : SchemaCollectionBase
public ref class UserDefinedAggregateCollection sealed : public SchemaCollectionBase
[<SealedAttribute>]
type UserDefinedAggregateCollection =  
    class
        inherit SchemaCollectionBase
    end
public final class UserDefinedAggregateCollection extends SchemaCollectionBase

Remarks

A UserDefinedAggregateCollection object can be used to gain access to a set of database user-defined aggregates. You can use the Item property to return a specific UserDefinedAggregate object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.