Share via


InventoryInstance.Class Property

 

Gets or sets the WMI class for the instance. Do not use the setter; this property should be populated from inheriting objects.

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

Syntax

[MessagePropertyAttribute(MessagePropertyImportance.Required)]
public string Class { get; set; }
public:
[MessagePropertyAttribute(MessagePropertyImportance::Required)]
property String^ Class {
    String^ get();
    void set(String^ value);
}
<MessagePropertyAttribute(MessagePropertyImportance.Required)>
Public Property Class As String

Property Value

Type: System.String

See Also

InventoryInstance Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top