| MSStoredProcedureAddNCharParameter Method |
Adds an Unicode fixed length character parameter to the procedure.
Strings longer than SqlUtility.MAX_NCHAR_LENGTH and the length argument are truncated to fit.
Namespace:
Galactic.Sql.MSSql
Assembly:
Galactic.Sql.MSSql (in Galactic.Sql.MSSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override bool AddNCharParameter(
string name,
string value,
int length,
StoredProcedureParameterType direction
)
Public Overrides Function AddNCharParameter (
name As String,
value As String,
length As Integer,
direction As StoredProcedureParameterType
) As Boolean
public:
virtual bool AddNCharParameter(
String^ name,
String^ value,
int length,
StoredProcedureParameterType direction
) override
abstract AddNCharParameter :
name : string *
value : string *
length : int *
direction : StoredProcedureParameterType -> bool
override AddNCharParameter :
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 fixed length 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
IStoredProcedureAddNCharParameter(String, String, Int32, StoredProcedureParameterType)See Also