Compartir a través de


LoadXmlHelpers.ReadManagementClassDescriptions Method

Reads all management class descriptions.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim returnValue As Dictionary(Of String, ManagementClassDescription)

returnValue = LoadXmlHelpers.ReadManagementClassDescriptions

Syntax

'Declaration
Public Shared Function ReadManagementClassDescriptions As Dictionary(Of String, ManagementClassDescription)
public static Dictionary<string,ManagementClassDescription> ReadManagementClassDescriptions ()
public:
static Dictionary<String^, ManagementClassDescription^>^ ReadManagementClassDescriptions ()
public static Dictionary<String,ManagementClassDescription> ReadManagementClassDescriptions ()
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

Reference

LoadXmlHelpers Class
LoadXmlHelpers Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
ManagementClassDescription Class
LoadXmlHelpers.GetManagementClassDescription Method