CimInstance Class

 

Represents an instance of a CIM class.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

System.Object
  Microsoft.Management.Infrastructure.CimInstance

[SerializableAttribute]
public sealed class CimInstance : IDisposable, ICloneable, ISerializable

NameDescription
System_CAPS_pubmethodCimInstance(CimClass)

Initializes a new instance of the CimInstance class.

System_CAPS_pubmethodCimInstance(CimInstance)

Initializes a new instance of the CimInstance class by creating a detailed copy of the specified CimInstance object.

System_CAPS_pubmethodCimInstance(String)

Initializes a new instance of the CimInstance class.

System_CAPS_pubmethodCimInstance(String, String)

Initializes a new instance of the CimInstance class.

NameDescription
System_CAPS_pubpropertyCimClass

Gets the class metadata associated with the current CimInstance object.

System_CAPS_pubpropertyCimInstanceProperties

Gets the properties of the current CimInstance object.

System_CAPS_pubpropertyCimSystemProperties

Gets the system properties of the CimInstance object.

NameDescription
System_CAPS_pubmethodDispose()

Releases resources associated with this object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetCimSessionComputerName()

Gets the name of the computer used to retrieve the current instance.

System_CAPS_pubmethodGetCimSessionInstanceId()

Gets the InstanceId of the CIM session used to retrieve the current instance.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a serialization information object with the data needed to serialize the CimInstance object.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Gets a short textual description of the CIM session that generated the instance.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable.Clone()

Creates a new object that is a copy of the current instance.

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

Community Additions

Show: