| IStoredProcedureAddVarCharParameter Method |
Adds an Non-Unicode variable character parameter to the procedure.
Strings longer than SqlUtility.MAX_VARCHAR_LENGTH and the length argument are truncated to fit.
Namespace:
Galactic.Sql
Assembly:
Galactic.Sql (in Galactic.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax bool AddVarCharParameter(
string name,
string value,
int length,
StoredProcedureParameterType direction
)
Function AddVarCharParameter (
name As String,
value As String,
length As Integer,
direction As StoredProcedureParameterType
) As Boolean
bool AddVarCharParameter(
String^ name,
String^ value,
int length,
StoredProcedureParameterType direction
)
abstract AddVarCharParameter :
name : string *
value : string *
length : int *
direction : StoredProcedureParameterType -> bool
Parameters
- name
- Type: SystemString
The name of the parameter to add. - value
- Type: SystemString
The value of the parameter to add. - length
- Type: SystemInt32
The length of the variable character parameter. - direction
- Type: Galactic.SqlStoredProcedureParameterType
The direction of the parameter. Use one of the class parameter constants. Defaults to IN.
Return Value
Type:
BooleanTrue if the parameter is added, false otherwise.
See Also