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)

public void Add(
	UserDefinedAggregateParameter userDefinedAggregateParameter,
	int insertAtPosition
)

Parameters

userDefinedAggregateParameter
Type: Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter

A UserDefinedAggregateParameter object that specifies the parameter that is to be added to the UserDefinedAggregateParameterCollection object.

insertAtPosition
Type: System.Int32

An Int32 value that specifies the index position in the collection after which to insert the UserDefinedAggregateParameterCollection object.

Return to top
Show: