SessionWithApp Method (IAppIdentifier, SessionType) |
Initializes a app specific session
SessionType | Behavour |
---|
SessionType.Default | Connects to a app session shared with the Qlik Senese web client |
SessionType.Random | Connects to a globaly unique app session |
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static ISession WithApp(
IAppIdentifier appIdentifier,
SessionType sessionType
)
Public Shared Function WithApp (
appIdentifier As IAppIdentifier,
sessionType As SessionType
) As ISession
Parameters
- appIdentifier
- Type: Qlik.EngineIAppIdentifier
application identifier to attach the session to - sessionType
- Type: Qlik.EngineSessionType
the wanted session type
Return Value
Type:
ISessiona session identifier
Examples
ISession privateSession = Session.WithApp(appIdentifier, SessionType.Random);
See Also