Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Called to delete a mapping between the specified user and a virtual machine in a personal virtual desktop collection.
Syntax
HRESULT DeletePersonalDesktopAssignment(
[in] const wchar_t *userId,
[in] const wchar_t *poolId,
[in] const wchar_t *endpointName
);
Parameters
[in] userId
A null-terminated string that contains the security identifier (SID) of the user.
[in] poolId
A null-terminated string that contains the identifier of the collection that the personal desktop exists in.
[in] endpointName
A null-terminated string that contains the name of the desktop end point to be deleted.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 |
| Minimum supported server | Windows Server 2012 |
| Target Platform | Windows |
| Header | tspubplugin2com.h |