InventoryInstance Class

 

Represents an inventory data instance. Inherits from InventoryReportBodyElement.

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


[SerializableAttribute]
public ref class InventoryInstance : InventoryReportBodyElement, 
	IXmlSerializable

NameDescription
System_CAPS_pubmethodInventoryInstance()

Initializes a new instance of the InventoryInstance class.

System_CAPS_pubmethodInventoryInstance(InventoryInstanceElement^)

Initializes a new instance of the InventoryInstance class.

System_CAPS_protmethodInventoryInstance(String^, String^, String^)

Initializes a new instance of the InventoryInstance class.

NameDescription
System_CAPS_pubpropertyClass

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

System_CAPS_pubpropertyContent

Gets or sets the content type. The default value is New.

System_CAPS_pubpropertyInstanceData

Gets or sets the instance data for the instance.

Important: This property will override any previously set BaseClass, ParentClass, or Namespace values.

System_CAPS_pubpropertyInstanceDataXml

Gets the instance data as a serialized XML blob.

System_CAPS_pubpropertyNamespace

Gets or sets the namespace for the instance. The default value is \\machinename\root\ccm.

System_CAPS_pubpropertyParentClass

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.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetSchema()

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.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReadXml(XmlReader^)

Generates an object from its XML representation.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWriteXml(XmlWriter^)

Converts an object into its XML representation.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: