EngineTryGetCurrentSession Method (Session, Boolean) |
Gets the session associated with the caller.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public 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
- Type: Dundas.BI.AccountServicesSession
When this method returns, contains the session associated with the caller,
if there is one; otherwise, . This parameter is passed uninitialized.
- validateSession
- Type: SystemBoolean
If set to , this method also ensures that the session is valid
and updates the last activity time of the session.
Return Value
Type:
Boolean if there is a session associated with the caller; otherwise,
.
See Also