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)

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

[SerializableAttribute]
public ref class WmiClassToInventoryReportInstance abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWmiClassToInventoryInstanceGeneric(String^, String^, array<String^>^, array<String^>^)

Creates an InventoryInstanceGeneric instance generated based on the incoming parameters.

System_CAPS_pubmethodSystem_CAPS_staticWmiClassToInventoryInstanceGeneric(String^, String^, WmiPropertyAndValuesCollection^)

Creates an InventoryInstanceGeneric instance based on the incoming parameters.

System_CAPS_pubmethodSystem_CAPS_staticWmiClassToInventoryInstances(String^, String^)

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

System_CAPS_pubmethodSystem_CAPS_staticWmiClassToInventoryInstances(String^, String^, String^, String^)

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

System_CAPS_pubmethodSystem_CAPS_staticWmiClassToInventoryInstances(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_staticWmiClassToInventoryInstances(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_staticWmiClassToInventoryInstances(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.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: