InventoryInstanceGeneric Class
Returns a generic inventory instance with raw XML. This class is useful for unknown data types.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Messages.InventoryReportBodyElement
Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstance
Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceGeneric
Syntax
[SerializableAttribute]
public sealed class InventoryInstanceGeneric : InventoryInstance
[SerializableAttribute]
public ref class InventoryInstanceGeneric sealed : InventoryInstance
<SerializableAttribute>
Public NotInheritable Class InventoryInstanceGeneric
Inherits InventoryInstance
Constructors
Name | Description | |
---|---|---|
InventoryInstanceGeneric() | Initializes a new instance of the InventoryInstanceGeneric class. |
|
InventoryInstanceGeneric(String, String, String) | Initializes a new instance of the InventoryInstanceGeneric class. |
|
InventoryInstanceGeneric(String, String, String, String) | Initializes a new instance of the InventoryInstanceGeneric class. |
Properties
Name | Description | |
---|---|---|
Class | Gets or sets the WMI class for the instance. Do not use the setter; this property should be populated from inheriting objects. (Inherited from InventoryInstance.) |
|
Content | Gets or sets the content type. The default value is New. (Inherited from InventoryInstance.) |
|
InstanceData | Gets or sets the instance data for the instance. Important: This property will override any previously set BaseClass, ParentClass, or Namespace values. (Inherited from InventoryInstance.) |
|
InstanceDataXml | Gets the instance data as a serialized XML blob. (Inherited from InventoryInstance.) |
|
Namespace | Gets or sets the namespace for the instance. The default value is \\machinename\root\ccm. (Inherited from InventoryInstance.) |
|
ParentClass | Gets or sets the parent class for the WMI class, which can be the same value. Do not use the setter; this property should be populated from inheriting objects. (Inherited from InventoryInstance.) |
|
RawXml | Gets or sets the raw XML data to add to the XML stream. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetSchema() | This method is reserved and should not be used. When you implement the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method. If you need to specify a custom schema, apply the XmlSchemaProviderAttribute to the class. (Inherited from InventoryInstance.) |
|
GetType() | (Inherited from Object.) |
|
ReadXml(XmlReader) | Generates an object from its XML representation. (Overrides InventoryInstance.ReadXml(XmlReader).) |
|
ToString() | (Inherited from Object.) |
|
WriteXml(XmlWriter) | Converts an object into its XML representation. (Overrides InventoryInstance.WriteXml(XmlWriter).) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top