IWSManEx::EnumerationFlagHierarchyShallow method

The IWSManEx::EnumerationFlagHierarchyShallow method returns the value of the enumeration constant EnumerationFlagHierarchyShallow for use in the flags parameter of the IWSManSession::Enumerate method.

EnumerationFlagHierarchyShallow is a constant in the _WSManEnumFlags enumeration and is described in Enumeration Constants.

Syntax

HRESULT EnumerationFlagHierarchyShallow(
  long *flags
);

Parameters

flags

The value of the constant.

Return value

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

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wsmandisp.h
Library WSManDisp.tlb
DLL WSMAuto.dll

See also

IWSManEx

IWSManSession