Reads all management class descriptions. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim returnValue As Dictionary(Of String, ManagementClassDescription)

returnValue = LoadXmlHelpers.ReadManagementClassDescriptions

Syntax

Visual Basic
Public Shared Function ReadManagementClassDescriptions As Dictionary(Of String, ManagementClassDescription)
C#
public static Dictionary<string,ManagementClassDescription> ReadManagementClassDescriptions ()
C++
public:
static Dictionary<String^, ManagementClassDescription^>^ ReadManagementClassDescriptions ()
J#
public static Dictionary<String,ManagementClassDescription> ReadManagementClassDescriptions ()
JScript
public static function ReadManagementClassDescriptions () : Dictionary<String,ManagementClassDescription>

Return Value

A System.Collections.Generic.Dictionary object that maps ManagementClassDescription objects to descriptions for all management class descriptions, keyed by class name.

Exceptions

Exception type Condition
FileNotFoundException

Class file not found.

XmlException

Class file not found.

InvalidOperationException

Class file contained invalid XML.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also