Compartilhar via


IDesktopUserActions.CloseSession Method (Session)

Closes the specified session.

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

Usage

'Usage
Dim instance As IDesktopUserActions
Dim sessionToClose As Session
Dim returnValue As Boolean

returnValue = instance.CloseSession(sessionToClose)

Syntax

'Declaration
Function CloseSession ( _
    sessionToClose As Session _
) As Boolean
bool CloseSession (
    Session sessionToClose
)
bool CloseSession (
    Session^ sessionToClose
)
boolean CloseSession (
    Session sessionToClose
)
function CloseSession (
    sessionToClose : Session
) : boolean

Parameters

  • sessionToClose
    Specifies the session to close

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

IDesktopUserActions Interface
IDesktopUserActions Members
Microsoft.Uii.Desktop.Core Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.