UserDefinedAggregateParameterCollection.Add Method (UserDefinedAggregateParameter, String)
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, _
insertAtColumnName As String _
)
'Usage
Dim instance As UserDefinedAggregateParameterCollection
Dim userDefinedAggregateParameter As UserDefinedAggregateParameter
Dim insertAtColumnName As String
instance.Add(userDefinedAggregateParameter, _
insertAtColumnName)
public void Add(
UserDefinedAggregateParameter userDefinedAggregateParameter,
string insertAtColumnName
)
public:
void Add(
UserDefinedAggregateParameter^ userDefinedAggregateParameter,
String^ insertAtColumnName
)
member Add :
userDefinedAggregateParameter:UserDefinedAggregateParameter *
insertAtColumnName:string -> unit
public function Add(
userDefinedAggregateParameter : UserDefinedAggregateParameter,
insertAtColumnName : String
)
Parameters
- userDefinedAggregateParameter
Type: Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter
A UserDefinedAggregateParameter object that specifies the parameter that is to be added to the UserDefinedAggregateParameterCollection object.
- insertAtColumnName
Type: System.String
A String value that specifies the name of the object in the collection after which to insert the UserDefinedAggregateParameter object.