大网数据广告活动
Hyper-V与虚拟化

Msvm_VirtualFcSwitchSettingData class

· 52CE 我爱测

Represents the configuration of a virtual Fibre Channel switch.

Represents the configuration of a virtual Fibre Channel switch.

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

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_VirtualFcSwitchSettingData : CIM_VirtualSystemSettingData
{
  string   InstanceID;
  string   Caption;
  string   Description;
  string   ElementName;
  string   VirtualSystemIdentifier;
  string   VirtualSystemType;
  string   Notes[];
  datetime CreationTime;
  string   ConfigurationID;
  string   ConfigurationDataRoot;
  string   ConfigurationFile;
  string   SnapshotDataRoot;
  string   SuspendDataRoot;
  string   SwapFileDataRoot;
  string   LogDataRoot;
  uint16   AutomaticStartupAction;
  datetime AutomaticStartupActionDelay;
  uint16   AutomaticStartupActionSequenceNumber;
  uint16   AutomaticShutdownAction;
  uint16   AutomaticRecoveryAction;
  string   RecoveryFile;
};

Members

The Msvm_VirtualFcSwitchSettingData class has these types of members:

Properties

The Msvm_VirtualFcSwitchSettingData class has these properties.

AutomaticRecoveryAction

Data type: uint16

Access type: Read-only

Action to take for the virtual machine when the software executed by the virtual machine fails. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

AutomaticShutdownAction

Data type: uint16

Access type: Read-only

Action to take for the virtual machine when the host is shut down. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

AutomaticStartupAction

Data type: uint16

Access type: Read-only

Action to take for the virtual machine when the host is started. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

AutomaticStartupActionDelay

Data type: datetime

Access type: Read-only

The delay time before the virtual machine is automatically started up. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

AutomaticStartupActionSequenceNumber

Data type: uint16

Access type: Read-only

A number that indicates the relative sequence of virtual machine activation when the host system is started. A lower number indicates earlier activation. If one or more configurations show the same value, the sequence is implementation dependent. A value of 0 indicates that the sequence is implementation dependent. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

Caption

Data type: string

Access type: Read-only

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

ConfigurationDataRoot

Data type: string

Access type: Read-only

The path of a directory where information about the virtual machine configuration is stored. This property is inherited from CIM_VirtualSystemSettingData.

ConfigurationFile

Data type: string

Access type: Read-only

The relative path and file name of a file where information about the virtual machine configuration is stored. This path is relative to the ConfigurationDataRoot property. This property is inherited from CIM_VirtualSystemSettingData.

ConfigurationID

Data type: string

Access type: Read-only

The unique identifier of the configuration. This property is inherited from CIM_VirtualSystemSettingData.

CreationTime

Data type: datetime

Access type: Read-only

The date and time at which the settings were created. This property is inherited from CIM_VirtualSystemSettingData.

This property is inherited from CIM_VirtualSystemSettingData.

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_VirtualSystemSettingData.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

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

LogDataRoot

Data type: string

Access type: Read-only

The path of a directory where log information for the virtual machine is stored. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

Notes

Data type: string array

Access type: Read-only

User supplied notes that are related to the virtual machine. This property is inherited from CIM_VirtualSystemSettingData.

RecoveryFile

Data type: string

Access type: Read-only

The full path of a file where recovery related information for the virtual machine is stored. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

SnapshotDataRoot

Data type: string

Access type: Read-only

The path of a directory where information about the virtual machine snapshots is stored. This property is inherited from CIM_VirtualSystemSettingData.

SuspendDataRoot

Data type: string

Access type: Read-only

The path of a directory where information about the virtual machine suspend-related information is stored. This property is inherited from CIM_VirtualSystemSettingData.

SwapFileDataRoot

Data type: string

Access type: Read-only

The path of a directory where swap files for the virtual machine are stored. This property is inherited from CIM_VirtualSystemSettingData, but is not used.

VirtualSystemIdentifier

Data type: string

Access type: Read-only

The name of the CIM_ComputerSystem object to which this setting data belongs. This property is inherited from CIM_VirtualSystemSettingData.

VirtualSystemType

Data type: string

Access type: Read-only

Specifies the type of virtual machine the setting data represents. This property is inherited from CIM_VirtualSystemSettingData.

Requirements

Requirement Value
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
DLL Vmms.exe

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。