Share via


IDesktopUserActions.CloseSession Method (Session)

 

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

Closes the specified session.

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

Syntax

bool CloseSession(
    Session sessionToClose
)
Function CloseSession (
    sessionToClose As Session
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
True if the session closes successfully, otherwise false.

See Also

CloseSession Overload
IDesktopUserActions Interface
Microsoft.Uii.Desktop.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright