WSMan.EnumerationFlagHierarchyDeep method

The EnumerationFlagHierarchyDeep method returns the value of the enumeration flag EnumerationFlagHierarchyDeep for use in the flags parameter of Session.Enumerate. This method provides a more efficient syntax for using the constant so that scripts are not required to set a constant value. For more information about how to call this method, see Session Constants.

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

Syntax


WSMan.EnumerationFlagHierarchyDeep( _
  ByRef flags _
)

Parameters

flags [out]

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

Redistributable

WinRM 1.1 (Windows Server 2003 R2, or Windows Server 2003 with SP1)

Header

Wsmandisp.h

IDL

Wsmandisp.idl

Library

WSManAutomation.lib

DLL

Wsmauto.dll

See also

WSMan
Session

 

 

Show:
© 2014 Microsoft