Msvm_KvpExchangeDataItem class

Represents a key/value pair.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider")]
class Msvm_KvpExchangeDataItem : CIM_ManagedElement
{
  string InstanceID;
  string Caption = "Key-Value Pair Exchange Data Item";
  string Description = "Microsoft Key-Value Pair Exchange Data Item";
  string ElementName = "Key-Value Pair Exchange Data Item";
  uint16 Source;
  string Name;
  string Data;
};

Members

The Msvm_KvpExchangeDataItem class has these types of members:

Properties

The Msvm_KvpExchangeDataItem class has these properties.

Caption

Data type: string

Access type: Read-only

A short description of the object. This property is inherited from CIM_ManagedElement.

Data

Data type: string

Access type: Read-only

Qualifiers: MAXLEN (1024)

The value portion of the key/value pair.

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement.

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.

Name

Data type: string

Access type: Read-only

Qualifiers: MAXLEN (1024)

The key portion of the key/value pair.

Key Description
"CSDVersion"
A string that represents the latest service pack installed on the guest system. For example, "Service Pack 2". If no service pack has been installed, this string is empty.
"FullyQualifiedDomainName"
A string that represents the fully qualified DNS name that uniquely identifies the local computer. This name is a combination of the DNS host name and the DNS domain name, using the format HostName.DomainName. If the local computer is a node in a cluster, this value is the fully qualified DNS name of the cluster virtual server. This value matches the name returned by the GetComputerNameEx function when the NameType parameter is "ComputerNameDnsFullyQualified".
"IntegrationServicesVersion"
A string representing the version of the Integration Services currently installed in the guest virtual machine (for example, "6.1.7000.0").
"NetworkAddressIPv4"
A string that contains a semicolon-delimited list of the IPv4 addresses currently assigned to the guest virtual machine. The list is automatically updated whenever a TCP/IP configuration change occurs on the guest virtual machine. Each address is represented in dot-decimal notation.
"NetworkAddressIPv6"
A string that contains a semicolon-delimited list of the IPv6 addresses currently assigned to the guest virtual machine. The list is automatically updated whenever a TCP/IP configuration change occurs on the guest virtual machine. Each address is represented in colon-hexadecimal notation. The IPv4 and IPv6 lists are not guaranteed to be in sync at all times.
"OSBuildNumber"
A string that represents the build number of the operating system.
"OSEditionId"
A string representing the edition (SKU) of the guest virtual machine operating system. For a list of possible values, see the GetProductInfo function.
"OSName"
A string that represents the name of the operating system. This value comes from the following registry entry: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProductName

"OSMajorVersion"
A string that represents the major version number of the operating system.
"OSMinorVersion"
A string that represents the minor version number of the operating system.
"OSPlatformId"
A string that represents the operating system platform. The possible values of the Data property are "1" to indicate an unsupported Windows system and "2" to indicate a supported Windows system.
"OSVersion"
A string that represents the operating system version. The format of this string is MajorVersion.MinorVersion.BuildNumber. For example, "5.2.3790" for Windows Server 2003.
"ProcessorArchitecture"
A string that represents the processor architecture of the operating system. For a list of values, see the wProcessorArchitecture member of the SYSTEM_INFO structure.
"ProductType"
A string that represents the product type. For a list of values, see the wProductType member of the OSVERSIONINFOEX structure.
"RDPAddressIPv4"
A string that contains a semicolon-delimited list of the IPv4 addresses that the guest virtual machine RDP stack is currently listening on. If the RDP stack is not currently running, the string will be empty. The list is automatically updated whenever a TCP/IP configuration change affects the RDP stack on the guest virtual machine. Each address is represented in dot-decimal notation.
"RDPAddressIPv6"
A string that contains a semicolon-delimited list of the IPv6 addresses that the guest virtual machine RDP stack is currently listening on. If the RDP stack is not currently running, the string will be empty. The list is automatically updated whenever a TCP/IP configuration change affects the RDP stack on the guest virtual machine. Each address is represented in colon-hexadecimal notation.
"ServicePackMajor"
A string that represents the major version number of the latest service pack installed on the system.
"ServicePackMinor"
A string that represents the minor version number of the latest service pack installed on the system.
"SuiteMask"
A string that represents the product suites available on the system. This string is a combination of any of the values of the wSuiteMask member of the OSVERSIONINFOEX structure.

Source

Data type: uint16

Access type: Read-only

The source of the data.

Value Meaning
0
"HostExchangeItems" when pushed by the host.
1
"GuestExchangeItems" when pushed by the guest virtual machine.
2
"GuestIntrinsicExchangeItems" when automatically populated by the guest virtual machine.
4
Indicates that the item is host-only and not shared with the guest virtual machine. Used with the HostOnlyItems property of the Msvm_KvpExchangeComponentSettingData class.

Remarks

Access to the Msvm_KvpExchangeDataItem class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
Namespace
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe

See also

CIM_ManagedElement

CIM_ManagedElement