ISharedPropertyGroupManager::get_Group method (comsvcs.h)

Retrieves a reference to an existing shared property group.

Syntax

HRESULT get_Group(
  [in]  BSTR                 Name,
  [out] ISharedPropertyGroup **ppGroup
);

Parameters

[in] Name

The name of the shared property group to be retrieved.

[out] ppGroup

A reference to the shared property group specified in the Name parameter, or NULL if the property group does not exist.

Return value

This method can return the standard return values E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.

Return code Description
S_OK
The shared property group exists, and a reference to it is returned in the ppGroup parameter.
E_INVALIDARG
The shared property group with the name specified in the Name parameter does not exist.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

ISharedPropertyGroupManager