EngineTryGetCurrentSession(Session, Boolean) Method |
Gets the session associated with the caller.
Namespace: Dundas.BIAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic bool TryGetCurrentSession(
out Session?? session,
bool validateSession
)
Public Function TryGetCurrentSession (
<OutAttribute> ByRef session As Session,
validateSession As Boolean
) As Boolean
public:
bool TryGetCurrentSession(
[OutAttribute] Session^% session,
bool validateSession
)
member TryGetCurrentSession :
session : Session byref *
validateSession : bool -> bool Parameters
- session Session
-
When this method returns, contains the session associated with the caller,
if there is one; otherwise, . This parameter is passed uninitialized.
- validateSession Boolean
-
If set to , this method also ensures that the session is valid
and updates the last activity time of the session.
Return Value
Boolean if there is a session associated with the caller; otherwise,
.
See Also