IWorkspace::GetWorkspaceNames method (workspaceruntime.h)

Retrieves the names of the connections in the current process.

Syntax

HRESULT GetWorkspaceNames(
  [out] SAFEARRAY **psaWkspNames
);

Parameters

[out] psaWkspNames

A pointer to an array of BSTR variables to receive the names of the connections.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header workspaceruntime.h

See also

IWorkspace

IWorkspace2

IWorkspace3