Partager via


WmiClassToInventoryReportInstance.WmiClassToInventoryInstanceGeneric Method (String, String, WmiPropertyAndValuesCollection)

 

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

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceGeneric

See Also

WmiClassToInventoryInstanceGeneric Overload
WmiClassToInventoryReportInstance Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top