Logoff method of the Win32_VirtualDesktopSession class

Logs off the user from the virtual desktop session.

Syntax

uint32 Logoff();

Parameters

This method has no parameters.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\rdms
Header
Sensevts.h
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_VirtualDesktopSession