iscConfigCloseCursor()

用途

iscConfigCloseCursor() 处置打开的游标。

语法

isy_INT32 iscConfigCloseCursor(
    HISCCONF     hConf,
    HISCCSR     hCursor);

函数自变量

表 127 列示用于 iscConfigCloseCursor() 函数的有效自变量。

表 127. iscConfigCloseCursor() 自变量

数据类型 自变量 使用 描述
HISCCONF hConf 输入 配置连接
HISCCSR hCursor 输入 用于迭代预订集的游标

用法

当用 iscConfigOpenCursor() 打开游标但不需要游标时, 用 iscConfigCloseCursor() 关闭此游标。 否则,打开的游标可能导致内存泄漏或其它配置一致性问题。 在游标关闭之后不要尝试使用关闭的句柄,因为这会导致意外错误。

返回码

限制

无。

相关概念

相关任务

相关参考