Share via


UserDefinedAggregateParameterCollection.Add Method (UserDefinedAggregateParameter, Int32)

Adds a UserDefinedAggregateParameter object to the UserDefinedAggregateParameterCollection object at the specified position.

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

Syntax

'Declaration
Public Sub Add ( _
    userDefinedAggregateParameter As UserDefinedAggregateParameter, _
    insertAtPosition As Integer _
)
'Usage
Dim instance As UserDefinedAggregateParameterCollection
Dim userDefinedAggregateParameter As UserDefinedAggregateParameter
Dim insertAtPosition As Integer

instance.Add(userDefinedAggregateParameter, _
    insertAtPosition)
public void Add(
    UserDefinedAggregateParameter userDefinedAggregateParameter,
    int insertAtPosition
)
public:
void Add(
    UserDefinedAggregateParameter^ userDefinedAggregateParameter, 
    int insertAtPosition
)
member Add : 
        userDefinedAggregateParameter:UserDefinedAggregateParameter * 
        insertAtPosition:int -> unit 
public function Add(
    userDefinedAggregateParameter : UserDefinedAggregateParameter, 
    insertAtPosition : int
)

Parameters