LoadXmlHelpers.GetManagementObjectDescription Method (ConnectionManagerBase, String)
Gets the description for a single Configuration Manager management class object that has the specified connection manager.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim connectionManager As ConnectionManagerBase
Dim className As String
Dim returnValue As ManagementClassDescription
returnValue = LoadXmlHelpers.GetManagementObjectDescription(connectionManager, className)
Syntax
'Declaration
Public Shared Function GetManagementObjectDescription ( _
connectionManager As ConnectionManagerBase, _
className As String _
) As ManagementClassDescription
public static ManagementClassDescription GetManagementObjectDescription (
ConnectionManagerBase connectionManager,
string className
)
public:
static ManagementClassDescription^ GetManagementObjectDescription (
ConnectionManagerBase^ connectionManager,
String^ className
)
public static ManagementClassDescription GetManagementObjectDescription (
ConnectionManagerBase connectionManager,
String className
)
public static function GetManagementObjectDescription (
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 object description.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | The requested management class object 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.
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