Open this page in the API Guide

IDataDiscoveryModuleService.TryGetSessionFromDataDiscoverySession Method

Attempt to find a session based on a valid session from the Data Discovery module, or create it if it doesn't exist.

Namespace:  Dundas.BI.DataDiscovery
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
bool TryGetSessionFromDataDiscoverySession(
	string dataDiscoverySessionId,
	out Guid sessionId
)

Parameters

dataDiscoverySessionId
Type: System.String
The Data Discovery module's session ID.
sessionId
Type: System.Guid
When this method returns successfully, the ID of the corresponding application session.

Return Value

Type: Boolean
true if the session was successfully found or created; otherwise, false.
Exceptions
ExceptionCondition
TrustedAccessExceptionAn unexpected error occurred during the operation.
See Also