Export (0) Print
Expand All

Msvm_FailoverNetworkAdapterSettingData class

Hyper-V

Represents the settings for a network adapter within the guest operating system, which will be applied at the time of a failover.

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

Syntax

class Msvm_FailoverNetworkAdapterSettingData : CIM_SettingData
{
  string  InstanceID;
  string  Caption;
  string  Description;
  string  ElementName;
  uint16  ProtocolIFType;
  boolean DHCPEnabled;
  string  IPAddresses[];
  string  Subnets[];
  string  DefaultGateways[];
  string  DNSServers[];
};

Members

The Msvm_FailoverNetworkAdapterSettingData class has these types of members:

Properties

The Msvm_FailoverNetworkAdapterSettingData 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, and it is always set to Null.

DefaultGateways
Data type: string array
Access type: Read-only

An array of strings that specify the default IP gateways configured on the network adapter within the guest operating system. The maximum number of default IP gateways that may be configured on a single network adapter is five.

Description
Data type: string
Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

DHCPEnabled
Data type: boolean
Access type: Read-only

Specifies whether DHCP is enabled on the IPv4 interface of the network adapter within the guest operating system.

DNSServers
Data type: string array
Access type: Read-only

An array of strings that specify the DNS servers configured on the network adapter within the guest operating system.

ElementName
Data type: string
Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to Null.

InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_SettingData, and it is always set to Null.

IPAddresses
Data type: string array
Access type: Read-only

An array of strings that specify the IP addresses configured on the network adapter within the guest operating system.

ProtocolIFType
Data type: uint16
Access type: Read-only

Identifies the Internet protocols that the settings specified by this instance apply to. This must be one of the following values.

ValueMeaning
0

Unknown

1

Other

4096

IPv4

4097

IPv6

4098

IPv4/IPv6

 

Subnets
Data type: string array
Access type: Read-only

An array of strings that specify the subnets configured on the network adapter within the guest operating system. Each element in this array applies to the corresponding element in the IPAddresses array.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

\\Root\Virtualization\V2

MOF

WindowsVirtualization.V2.mof

 

 

Community Additions

ADD
Show:
© 2014 Microsoft