IWorkspace::GetWorkspaceNames method

Retrieves the names of the connections in the current process.

Syntax

HRESULT GetWorkspaceNames(
  SAFEARRAY **psaWkspNames
);

Parameters

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

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

See Also

IWorkspace

IWorkspace2

IWorkspace3