Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / SimplePackage Class / GetSession Method

In This Topic
    GetSession Method (SimplePackage)
    In This Topic
    Load the specified session
    Syntax
    'Declaration
     
    
    Public Function GetSession( _
       ByVal sessionId As Guid, _
       Optional ByVal fileId As Nullable(Of Guid) _
    ) As Session
    public Session GetSession( 
       Guid sessionId,
       Nullable<Guid> fileId
    )

    Parameters

    sessionId
    fileId

    Return Value

    The loaded session. If no session can be found with the specified Id an ArgumentOutOfRangeException will be thrown.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also