UserDefinedAggregateParameterCollection.Add UserDefinedAggregateParameterCollection.Add Method

Definition

Overloads

Add(UserDefinedAggregateParameter) Add(UserDefinedAggregateParameter)

Adds a UserDefinedAggregateParameter object to the UserDefinedAggregateParameterCollection object.

Add(UserDefinedAggregateParameter, Int32) Add(UserDefinedAggregateParameter, Int32)

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

Add(UserDefinedAggregateParameter, String) Add(UserDefinedAggregateParameter, String)

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

Add(UserDefinedAggregateParameter) Add(UserDefinedAggregateParameter)

Adds a UserDefinedAggregateParameter object to the UserDefinedAggregateParameterCollection object.

public:
 void Add(Microsoft::SqlServer::Management::Smo::UserDefinedAggregateParameter ^ userDefinedAggregateParameter);
public void Add (Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter userDefinedAggregateParameter);
Parameters
userDefinedAggregateParameter
UserDefinedAggregateParameter UserDefinedAggregateParameter

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

Examples

Using Collections

Add(UserDefinedAggregateParameter, Int32) Add(UserDefinedAggregateParameter, Int32)

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

public:
 void Add(Microsoft::SqlServer::Management::Smo::UserDefinedAggregateParameter ^ userDefinedAggregateParameter, int insertAtPosition);
public void Add (Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter userDefinedAggregateParameter, int insertAtPosition);
Parameters
userDefinedAggregateParameter
UserDefinedAggregateParameter UserDefinedAggregateParameter

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

insertAtPosition
Int32 Int32

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

Examples

Using Collections

Add(UserDefinedAggregateParameter, String) Add(UserDefinedAggregateParameter, String)

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

public:
 void Add(Microsoft::SqlServer::Management::Smo::UserDefinedAggregateParameter ^ userDefinedAggregateParameter, System::String ^ insertAtColumnName);
public void Add (Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter userDefinedAggregateParameter, string insertAtColumnName);
Parameters
userDefinedAggregateParameter
UserDefinedAggregateParameter UserDefinedAggregateParameter

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

insertAtColumnName
String String

A String value that specifies the name of the object in the collection after which to insert the UserDefinedAggregateParameter object.

Examples

Using Collections

Applies to