Click or drag to resize
Galactic API

MSStoredProcedureAddNVarCharParameter 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.MSSql
Assembly:  Galactic.Sql.MSSql (in Galactic.Sql.MSSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public override bool AddNVarCharParameter(
	string name,
	string value,
	int length,
	StoredProcedureParameterType direction
)

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: Boolean
True if the parameter is added, false otherwise.

Implements

IStoredProcedureAddNVarCharParameter(String, String, Int32, StoredProcedureParameterType)
See Also