RuntimeState.SetDataSession 方法 | |
This method can be used to switch the active DataSession in the runtime state.
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 STATIC METHOD SetDataSession(
session AS DataSession
) AS DataSession
public static DataSession SetDataSession(
DataSession session
)
查看代码参数
- session
- 类型:DataSession
The datasession that needs to be set as the new active datasession
返回值
类型:
DataSessionThe previous active datasession
备注 This sets the DataSession in the current thread.
参见