Partager via


WmiClassToInventoryReportInstance Class

 

Helper method used to generate an inventory instance from a WMI class.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.WmiClassToInventoryReportInstance

Syntax

[SerializableAttribute]
public static class WmiClassToInventoryReportInstance
[SerializableAttribute]
public ref class WmiClassToInventoryReportInstance abstract sealed 
<SerializableAttribute>
Public NotInheritable Class WmiClassToInventoryReportInstance

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstanceGeneric(String, String, String[], String[])

Creates an InventoryInstanceGeneric instance generated based on the incoming parameters.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstanceGeneric(String, String, WmiPropertyAndValuesCollection)

Creates an InventoryInstanceGeneric instance based on the incoming parameters.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstances(String, String)

Connects to WMI on the local machine and gets the WMI instances from a class.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstances(String, String, String, String)

Connects to WMI on the local machine and gets the WMI instances from a class.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstances(String, String, String, String, String)

Connects to WMI on a remote machine with the specified credentials and gets the WMI instances from a class.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstances(String, String, String, String, String, NetworkCredential)

Connects to WMI on a remote machine with the specified credentials and gets the WMI instances from a class.

System_CAPS_pubmethodSystem_CAPS_static WmiClassToInventoryInstances(String, String, String, String, String, String, String)

Connects to WMI on a remote machine with the specified credentials and gets the WMI instances from a class.

You can overwrite the WMI class by using spoofWmiClass. This is useful when the client isn't installed.

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.

See Also

Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top