RemoveDesktopAssignment method of the Win32_RDMSDesktopAssignment class

Removes a desktop assignment

Syntax

uint32 RemoveDesktopAssignment(
  [in] string CollectionAlias,
  [in] string DesktopName,
  [in] string UserDomain,
  [in] string UserName
);

Parameters

CollectionAlias [in]

The collection alias.

DesktopName [in]

The name of the desktop.

UserDomain [in]

The user account domain name.

UserName [in]

The user account name.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\cimv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSDesktopAssignment