Called to delete a mapping between the specified user and a virtual machine in a personal virtual desktop collection.
HRESULT DeletePersonalDesktopAssignment( [in] const wchar_t *userId, [in] const wchar_t *poolId, [in] const wchar_t *endpointName );
- userId [in]
A null-terminated string that contains the security identifier (SID) of the user.
- poolId [in]
A null-terminated string that contains the identifier of the collection that the personal desktop exists in.
- endpointName [in]
A null-terminated string that contains the name of the desktop end point to be deleted.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client
Minimum supported server
|Windows Server 2012|