ItsPubPlugin2::DeletePersonalDesktopAssignment method

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

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.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Tspubplugin2com.idl

See also

ItsPubPlugin2

 

 

Show:
© 2014 Microsoft