A Sandcastle Documented Class Library

# ISessionService GetSessions Method

Retrieves a list of sessions having the specified IDs.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    IDictionary<Guid, Session> GetSessions(
    	ICollection<Guid> sessionIds
    )

    Function GetSessions (
    	sessionIds As ICollection(Of Guid)
    ) As IDictionary(Of Guid, Session)

    IDictionary<Guid, Session^>^ GetSessions(
    	ICollection<Guid>^ sessionIds
    )

    abstract GetSessions :
            sessionIds : ICollection<Guid> -> IDictionary<Guid, Session>

#### Parameters

sessionIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of the sessions to retrieve.

#### Return Value

Type: IDictionary
Guid, Session
A dictionary (keyed by session ID) containing the corresponding Session or
if the session does not exist.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | sessionIds is .
NoPrivilegeException | The caller does not have administrative privileges.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

ISessionService Interface
Dundas.BI.AccountServices Namespace