IConsoleNameSpace::SetItem method (mmc.h)

The IConsoleNameSpace2::SetItem method enables the snap-in to set the attributes of a single scope-view item.

Syntax

HRESULT SetItem(
  [in] LPSCOPEDATAITEM item
);

Parameters

[in] item

A pointer to a SCOPEDATAITEM structure that contains information about the item to be set in the scope pane.

Return value

This method can return one of these values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h
DLL Mmcndmgr.dll

See also

IConsoleNameSpace

IConsoleNameSpace2