| StoredProcedureAddNVarCharParameter Method |
Adds an Unicode variable character parameter to the procedure.
Strings longer than SqlUtility.MAX_NVARCHAR_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 public abstract bool AddNVarCharParameter(
string name,
string value,
int length,
StoredProcedureParameterType direction
)
Public MustOverride Function AddNVarCharParameter (
name As String,
value As String,
length As Integer,
direction As StoredProcedureParameterType
) As Boolean
public:
virtual bool AddNVarCharParameter(
String^ name,
String^ value,
int length,
StoredProcedureParameterType direction
) abstract
abstract AddNVarCharParameter :
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.
Implements
IStoredProcedureAddNVarCharParameter(String, String, Int32, StoredProcedureParameterType)See Also