The SMS_InventoryClass Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents inventory classes that exist in the system.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_InventoryClass : { String ClassName; Boolean IsDeletable; String Namespace; InventoryClassProperty Properties[]; String SMSClassID; String SMSContext; String SMSDeviceUri; String SMSGroupName; }; |
Methods
The following table lists the methods in the SMS_InventoryClass class.
Method | Description |
---|---|
GetInventoryClassesFromMof Method in Class SMS_InventoryClass |
For internal use only. |
Properties
- ClassName
- Data type: StringAccess type: Read/Write Qualifiers: [not_null]The WMI name of the inventory class.
- IsDeletable
- Data type: BooleanAccess type: Read-only Qualifiers: [read]For internal use only.
- Namespace
- Data type: StringAccess type: Read/Write Qualifiers: [not_null]The WMI namespace.
- Properties
- Data type: Object Array Access type: Read/Write Qualifiers: noneThe properties of this class.
- SMSClassID
- Data type: StringAccess type: Read/Write Qualifiers: [key]The Class ID that will be used to generate the database table, view and the UI SDK class.
- SMSContext
- Data type: StringAccess type: Read/Write Qualifiers: noneSMS contexts in XML format. This can support multiple contexts.
- SMSDeviceUri
- Data type: StringAccess type: Read/Write Qualifiers: noneSMS device URI in XML format. This could support multiple device URIs.
- SMSGroupName
- Data type: StringAccess type: Read/Write Qualifiers: [not_null]The default class name displayed in the MOF editor and Resource Explorer, if no localized resources are provided.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.