IWorkspaceScriptable2::ResourceDismissed method (workspaceruntime.h)

Alerts the user that a resource has been disabled or otherwise dismissed.

Syntax

HRESULT ResourceDismissed(
  [in] BSTR bstrWorkspaceId,
  [in] BSTR bstrWorkspaceFriendlyName
);

Parameters

[in] bstrWorkspaceId

String containing the ID of the workspace that contains the unavailable resource.

[in] bstrWorkspaceFriendlyName

String containing the friendly name of the workspace that holds the unavailable resource.

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 workspaceruntime.h

See also

IWorkspaceScriptable2

IWorkspaceScriptable3