RuntimeState.SetDataSession Method | |
This method can be used to switch the active DataSession in the runtime state.
Namespace:
XSharp
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax STATIC METHOD SetDataSession(
session AS DataSession
) AS DataSession
public static DataSession SetDataSession(
DataSession session
)
Request Example
View SourceParameters
- session
- Type: DataSession
The datasession that needs to be set as the new active datasession
Return Value
Type:
DataSessionThe previous active datasession
Remarks This sets the DataSession in the current thread.
See Also