Gets the description for a single management class from the console schema. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim className As String
Dim managementClass As ManagementClassDescription
Dim returnValue As Boolean

returnValue = LoadXmlHelpers.TryGetManagementClassDescription(className, managementClass)

Syntax

Visual Basic
Public Shared Function TryGetManagementClassDescription ( _
		className As String, _
		<OutAttribute> ByRef managementClass As ManagementClassDescription _
) As Boolean
C#
public static bool TryGetManagementClassDescription (
		string className,
		out ManagementClassDescription managementClass
)
C++
public:
static bool TryGetManagementClassDescription (
		String^ className, 
		[OutAttribute] ManagementClassDescription^% managementClass
)
J#
public static boolean TryGetManagementClassDescription (
		String className, 
		/** @attribute OutAttribute() */ /** @ref */ ManagementClassDescription managementClass
)
JScript

Parameters

className

[in] Name of a management class, for example, SMS_Resource Server WMI Class.

managementClass

[out] ManagementClassDescription object that represents the class description.

Return Value

true if the management class description is retrieved; otherwise false.

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