Api.JetRetrieveColumns 方法
在单个操作中从当前记录中检索多个列值。 JET_RETRIEVECOLUMN 结构的数组用于描述要检索的列值集,并描述要检索的每个列值的输出缓冲区。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Function JetRetrieveColumns ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
retrievecolumns As JET_RETRIEVECOLUMN(), _
numColumns As Integer _
) As JET_wrn
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim retrievecolumns As JET_RETRIEVECOLUMN()
Dim numColumns As Integer
Dim returnValue As JET_wrn
returnValue = Api.JetRetrieveColumns(sesid, _
tableid, retrievecolumns, numColumns)
public static JET_wrn JetRetrieveColumns(
JET_SESID sesid,
JET_TABLEID tableid,
JET_RETRIEVECOLUMN[] retrievecolumns,
int numColumns
)
parameters
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要从中检索数据的游标。
retrievecolumns
类型:[]描述要检索的数据的一个或多个 JET_RETRIEVECOLUMN 对象的数组。
numColumns
类型: System.Int32列数组中的条目数。
返回值
类型: Microsoft.Isam.Esent.Interop.JET_wrn
如果检索到的任何列由于缓冲区长度不足而被截断,则 API 将返回 BufferTruncated。 但是,其他错误JET_wrnColumnNull仅在 JET_RETRIEVECOLUMN 对象的错误字段中返回。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈