IWorkspaceScriptable::ClearWorkspaceCredential method

Deletes the user credentials associated with the specified connection ID.

Syntax

HRESULT ClearWorkspaceCredential(
  BSTR bstrWorkspaceId
);

Parameters

bstrWorkspaceId

A string that contains a connection ID.

Return Value

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

Remarks

If the connection ID has no active connections, it is removed from the credential store.

Requirements

   
Windows version Windows 7 Windows Server 2008 R2
Target Platform Windows
Header workspaceruntime.h

See Also

IWorkspaceScriptable

IWorkspaceScriptable2

IWorkspaceScriptable3