Partager via


Sessions.CloseSession Method (Session, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Closes the session and if it was the active session, assigns another session to be the active one.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

public virtual bool CloseSession(
    Session session,
    bool forceClose
)
Public Overridable Function CloseSession (
    session As Session,
    forceClose As Boolean
) As Boolean

Parameters

  • forceClose
    Type: System.Boolean

    True if the session should be forced to close; otherwise false.

Return Value

Type: System.Boolean

Type: Boolean
True if the session was closed successfully; otherwise false.

See Also

Sessions Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright