IDataDiscoveryModuleServiceTryGetSessionFromDataDiscoveryToken Method  | 
 
            Attempt to find a session based on a valid trusted access token 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.3.0.1000)
Syntaxbool TryGetSessionFromDataDiscoveryToken(
	string tokenHeaderValue,
	out Guid sessionId
)
Function TryGetSessionFromDataDiscoveryToken ( 
	tokenHeaderValue As String,
	<OutAttribute> ByRef sessionId As Guid
) As Boolean
bool TryGetSessionFromDataDiscoveryToken(
	String^ tokenHeaderValue, 
	[OutAttribute] Guid% sessionId
)
abstract TryGetSessionFromDataDiscoveryToken : 
        tokenHeaderValue : string * 
        sessionId : Guid byref -> bool 
Parameters
- tokenHeaderValue
 - Type: SystemString
The Data Discovery module's token, represented as the value of the Authorization header. - sessionId
 - Type: SystemGuid
When this method returns successfully, the ID of the corresponding application session. 
Return Value
Type: 
Boolean if the session was successfully found or created; otherwise, 
.
Exceptions
See Also