Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
---|
Dim connectionManager As ConnectionManagerBase Dim className As String Dim returnValue As ManagementClassDescription returnValue = LoadXmlHelpers.GetManagementClassDescription(connectionManager, className) |
Syntax
Visual Basic |
---|
Public Shared Function GetManagementClassDescription ( _ connectionManager As ConnectionManagerBase, _ className As String _ ) As ManagementClassDescription |
C# |
---|
public static ManagementClassDescription GetManagementClassDescription ( ConnectionManagerBase connectionManager, string className ) |
C++ |
---|
public: static ManagementClassDescription^ GetManagementClassDescription ( ConnectionManagerBase^ connectionManager, String^ className ) |
J# |
---|
public static ManagementClassDescription GetManagementClassDescription ( ConnectionManagerBase connectionManager, String className ) |
JScript |
---|
public static function GetManagementClassDescription ( connectionManager : ConnectionManagerBase, className : String ) : ManagementClassDescription |
Parameters
- connectionManager
-
[in] ConnectionManagerBase object.
- className
-
[in] Name of a management class, for example, SMS_Resource Server WMI Class.
Return Value
ManagementClassDescription object that represents the class description.Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException |
The requested class information was not found. |
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.