Dela via


UserDefinedAggregateCollection.Add Method

Adds a user-defined aggregate to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    userDefinedAggregate As UserDefinedAggregate _
)
'Usage
Dim instance As UserDefinedAggregateCollection
Dim userDefinedAggregate As UserDefinedAggregate

instance.Add(userDefinedAggregate)
public void Add(
    UserDefinedAggregate userDefinedAggregate
)
public:
void Add(
    UserDefinedAggregate^ userDefinedAggregate
)
member Add : 
        userDefinedAggregate:UserDefinedAggregate -> unit 
public function Add(
    userDefinedAggregate : UserDefinedAggregate
)