IDesktopUserActions.CloseSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CloseSession() |
Closes the current active sesion. |
CloseSession(Session) |
Closes the specified session. |
CloseSession()
Closes the current active sesion.
public:
bool CloseSession();
public bool CloseSession ();
abstract member CloseSession : unit -> bool
Public Function CloseSession () As Boolean
Returns
True
if the session closes successfully, otherwise false
.
Applies to
CloseSession(Session)
Closes the specified session.
public:
bool CloseSession(Microsoft::Uii::Csr::Session ^ sessionToClose);
public bool CloseSession (Microsoft.Uii.Csr.Session sessionToClose);
abstract member CloseSession : Microsoft.Uii.Csr.Session -> bool
Public Function CloseSession (sessionToClose As Session) As Boolean
Parameters
- sessionToClose
- Session
Specifies the session to close
Returns
True
if the session closes successfully, otherwise false
.