Compartir a través de


IMsRdpWorkspace::ClearWorkspaceCredential method

Deletes the user credentials associated with the specified connection ID.

Syntax

HRESULT ClearWorkspaceCredential(
  [in] BSTR bstrWorkspaceId
);

Parameters

  • bstrWorkspaceId [in]
    A string that contains the connection ID for the user credentials 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 7

Minimum supported server

Windows Server 2008 R2

DLL

MsRdpWebAccess.dll

IID

IID_IMsRdpWorkspace is defined as 145D0621-04CF-4FC2-A766-A81A9069CDF8

See also

IMsRdpWorkspace