api.GetTableColumns 方法 (JET_SESID,JET_TABLEID)
循环访问表中的所有列,返回有关每个列的信息。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Function GetTableColumns ( _
sesid As JET_SESID, _
tableid As JET_TABLEID _
) As IEnumerable(Of ColumnInfo)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim returnValue As IEnumerable(Of ColumnInfo)
returnValue = Api.GetTableColumns(sesid, _
tableid)
public static IEnumerable<ColumnInfo> GetTableColumns(
JET_SESID sesid,
JET_TABLEID tableid
)
参数
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要为其检索列信息的表。
返回值
类型: System.Collections.Generic.IEnumerable<ColumnInfo>
针对表中每一列的 ColumnInfo 的迭代器。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈