UserDefinedFunctionParameterCollection.Add UserDefinedFunctionParameterCollection.Add Method

Definition

Overloads

Add(UserDefinedFunctionParameter) Add(UserDefinedFunctionParameter)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection.

Add(UserDefinedFunctionParameter, Int32) Add(UserDefinedFunctionParameter, Int32)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection at a specified position.

Add(UserDefinedFunctionParameter, String) Add(UserDefinedFunctionParameter, String)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection.

Add(UserDefinedFunctionParameter) Add(UserDefinedFunctionParameter)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection.

public:
 void Add(Microsoft::SqlServer::Management::Smo::UserDefinedFunctionParameter ^ userDefinedFunctionParameter);
public void Add (Microsoft.SqlServer.Management.Smo.UserDefinedFunctionParameter userDefinedFunctionParameter);
Parameters
userDefinedFunctionParameter
UserDefinedFunctionParameter UserDefinedFunctionParameter

A UserDefinedFunctionParameter object value that specifies the user-defined function parameter to be removed from the UserDefinedFunctionParameterCollection collection.

Examples

Using Collections

Add(UserDefinedFunctionParameter, Int32) Add(UserDefinedFunctionParameter, Int32)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection at a specified position.

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

A UserDefinedFunctionParameter object value that specifies the user-defined function parameter.

insertAtPosition
Int32 Int32

An Int32 value that specifies the index position of the UserDefinedFunctionParameterCollection collection.

Examples

Using Collections

Add(UserDefinedFunctionParameter, String) Add(UserDefinedFunctionParameter, String)

Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection.

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

A UserDefinedFunctionParameter object value that is to be added into the UserDefinedFunctionParameterCollection collection.

insertAtColumnName
String String

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

Examples

Using Collections

Applies to