会话隐式转换 (会话到JET_SESID)

从会话到JET_SESID的隐式转换运算符。 这允许会话与需要JET_SESID的 API 一起使用。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
Public Shared Widening Operator CType ( _
    session As Session _
) As JET_SESID
'Usage
Dim input As Session
Dim output As JET_SESID

output = CType(input, JET_SESID)
public static implicit operator JET_SESID (
    Session session
)

参数

返回值

类型: Microsoft.Isam.Esent.Interop.JET_SESID
会话JET_SESID。

另请参阅

参考

会话类

会话成员

Microsoft.Isam.Esent.Interop 命名空间