AddSPParameter(String,SPParamDataTypes,SPParamDirections) Method
- Last UpdatedNov 06, 2025
- 1 minute read
Add a Stored Procedure Parameter to the previously added SP name. This overload allows the data type, direction, size and value of the SP parameter to be specified with enums to specify the data type and direction.
'Declaration
Public Overloads Sub AddSPParameter( _
ByVal paramName As String, _
ByVal dataType As SPParamDataTypes, _
ByVal direction As SPParamDirections _
)
'Usage
Dim instance As XMLSPBuilder
Dim paramName As String
Dim dataType As SPParamDataTypes
Dim direction As SPParamDirections
instance.AddSPParameter(paramName, dataType, direction)
public void AddSPParameter(
string paramName,
SPParamDataTypes dataType,
SPParamDirections direction
)
Parameters
- paramName
- The name of the new SP parameter as a string
- dataType
- The data type of the new SP parameter as a SPParamDataTypes enum
- direction
- The direction of the new SP parameter as a SPParamDirections enum