Compartir a través de


LoadXmlHelpers.TryGetManagementClassDescription Method

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

'Usage
Dim className As String
Dim managementClass As ManagementClassDescription
Dim returnValue As Boolean

returnValue = LoadXmlHelpers.TryGetManagementClassDescription(className, managementClass)

Syntax

'Declaration
Public Shared Function TryGetManagementClassDescription ( _
    className As String, _
    <OutAttribute> ByRef managementClass As ManagementClassDescription _
) As Boolean
public static bool TryGetManagementClassDescription (
    string className,
    out ManagementClassDescription managementClass
)
public:
static bool TryGetManagementClassDescription (
    String^ className, 
    [OutAttribute] ManagementClassDescription^% managementClass
)
public static boolean TryGetManagementClassDescription (
    String className, 
    /** @attribute OutAttribute() */ /** @ref */ ManagementClassDescription managementClass
)

Parameters

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

Reference

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