combit List & Label 29 - .NET Help
combit.Reporting.AdhocDesign.SessionHandling Namespace / IAdhocDesignerSessionManager Interface / SetSessionExpiration Method


In This Topic
    SetSessionExpiration Method
    In This Topic
    Removes the session with the specified ID from the list if the user context matches the owner of the session.
    Syntax
    'Declaration
     
    
    Sub SetSessionExpiration( _
       ByVal sessionId As String, _
       ByVal userContext As IPrincipal, _
       ByVal gracePeriod As TimeSpan _
    ) 
    void SetSessionExpiration( 
       string sessionId,
       IPrincipal userContext,
       TimeSpan gracePeriod
    )
    void SetSessionExpiration( 
       String^ sessionId,
       IPrincipal^ userContext,
       TimeSpan gracePeriod
    ) 

    Parameters

    sessionId
    userContext
    gracePeriod
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also