WbemObjectTextFormatEnum enumeration (wbemdisp.h)

The WbemObjectTextFormatEnum constants define the valid object text formats to be used by SWbemObjectEx.GetText_.

The WMI scripting type library, wbemdisp.tlb, defines these constants. Visual Basic applications can access this library; script languages must use the value of the constant directly, unless they use Windows Script Host (WSH) XML file format. For more information, see Using the WMI Scripting Type Library.

Syntax

typedef enum WbemObjectTextFormatEnum {
  wbemObjectTextFormatCIMDTD20 = 1,
  wbemObjectTextFormatWMIDTD20 = 2
} ;

Constants

 
wbemObjectTextFormatCIMDTD20
Value: 1
XML format conforming to the DMTF (Distributed Management Task Force) CIM document type definition (DTD) version 2.0.
wbemObjectTextFormatWMIDTD20
Value: 2
XML format as defined by the extended WMI version of DMTF CIM DTD version 2.0. Using this value enables WMI-specific extensions, such as embedded objects or scope.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header wbemdisp.h

See also

Scripting API Constants

WbemTextFlagEnum