UserDefinedFunctionParameterCollection.Add Method (UserDefinedFunctionParameter, Int32)
Adds a UserDefinedFunctionParameter object to the UserDefinedFunctionParameterCollection collection at a specified position.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
userDefinedFunctionParameter As UserDefinedFunctionParameter, _
insertAtPosition As Integer _
)
'Usage
Dim instance As UserDefinedFunctionParameterCollection
Dim userDefinedFunctionParameter As UserDefinedFunctionParameter
Dim insertAtPosition As Integer
instance.Add(userDefinedFunctionParameter, _
insertAtPosition)
public void Add(
UserDefinedFunctionParameter userDefinedFunctionParameter,
int insertAtPosition
)
public:
void Add(
UserDefinedFunctionParameter^ userDefinedFunctionParameter,
int insertAtPosition
)
member Add :
userDefinedFunctionParameter:UserDefinedFunctionParameter *
insertAtPosition:int -> unit
public function Add(
userDefinedFunctionParameter : UserDefinedFunctionParameter,
insertAtPosition : int
)
Parameters
- userDefinedFunctionParameter
Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionParameter
A UserDefinedFunctionParameter object value that specifies the user-defined function parameter.
- insertAtPosition
Type: System.Int32
An Int32 value that specifies the index position of the UserDefinedFunctionParameterCollection collection.