Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an InventoryInstanceGeneric instance based on the incoming parameters.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static InventoryInstanceGeneric WmiClassToInventoryInstanceGeneric(
string wmiClassName,
string wmiNamespace,
WmiPropertyAndValuesCollection properties
)
public:
static InventoryInstanceGeneric^ WmiClassToInventoryInstanceGeneric(
String^ wmiClassName,
String^ wmiNamespace,
WmiPropertyAndValuesCollection^ properties
)
Public Shared Function WmiClassToInventoryInstanceGeneric (
wmiClassName As String,
wmiNamespace As String,
properties As WmiPropertyAndValuesCollection
) As InventoryInstanceGeneric
Parameters
wmiClassName
Type: System.StringName of the WMI class.
wmiNamespace
Type: System.StringName of the WMI namespace.
properties
Type: Microsoft.ConfigurationManagement.Messaging.Messages.WmiPropertyAndValuesCollectionCollection of WMI properties and values.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceGeneric
See Also
WmiClassToInventoryInstanceGeneric Overload
WmiClassToInventoryReportInstance Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top