Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将参数设置为字符串值。
public virtual bool SetParameterString( ul_column_num pid, const char * value, size_t len )
pid 从 1 开始的参数序号。
value 字符串值。
len 可选。设置为字符串的长度(以字节为单位)或 UL_NULL_TERMINATED_STRING(如果字符串以空值终止)。如果参数大于 32K,则会设置 SQLE_INVALID_PARAMETER。对于更大的字符串,请改为调用 AppendParameterStringChunk 方法。
如果成功,则返回 true,否则返回 false。