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
- 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.