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

Msvm_VirtualSystemMigrationServiceSettingData class

· 52CE 我爱测

Represents the settings for the virtual system migration service on a host.

Represents the settings for the virtual system migration service on a host. The properties for this class cannot be modified directly. The client must call the Msvm_VirtualSystemMigrationService.ModifyServiceSettings method to modify any of these properties.

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_VirtualSystemMigrationServiceSettingData : CIM_SettingData
{
  string  InstanceID;
  string  Caption;
  string  Description;
  string  ElementName;
  boolean EnableVirtualSystemMigration;
  uint32  MaximumActiveVirtualSystemMigration;
  uint32  MaximumActiveStorageMigration;
  uint32  AuthenticationType;
  boolean EnableCompression = True;
  boolean EnableSmbTransport = False;
};

Members

The Msvm_VirtualSystemMigrationServiceSettingData class has these types of members:

Properties

The Msvm_VirtualSystemMigrationServiceSettingData class has these properties.

AuthenticationType

Data type: uint32

Access type: Read-only

Specifies the authentication mechanism used for virtual system migration network connections. This is a read-only property, but it can be changed by using the ModifyServiceSettings method of the Msvm_VirtualSystemMigrationService class.

CredSSP (0)

Kerberos (1)

Caption

Data type: string

Access type: Read-only

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

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

EnableCompression

Data type: boolean

Access type: Read/write

Indicates whether compression of live migration traffic is enabled or disabled. True indicates enabled.

This is a read-only property, but it can be changed by using the ModifyResourceSettings method of the Msvm_VirtualSystemManagementService class.

Windows 8.1: This value is not supported until Windows 8.1 and Windows Server 2012 R2.

EnableSmbTransport

Data type: boolean

Access type: Read/write

Indicates whether use of SMB as a transport type for transferring VM state between the Hyper-V hosts during virtual system migration is enabled or disabled. True indicates enabled. A higher performance is achieved if RDMA NICs are configured for SMB transport during VM live migration. If EnableSmbTransport value is true, the value of EnableCompression is ignored.

This is a read-only property, but it can be changed by using the ModifyResourceSettings method of the Msvm_VirtualSystemManagementService class.

Windows 8.1: This value is not supported until Windows 8.1 and Windows Server 2012 R2.

EnableVirtualSystemMigration

Data type: boolean

Access type: Read-only

Specifies whether virtual system migration is enabled or disabled. Storage migration is always enabled. This is a read-only property, but it can be changed by using the ModifyServiceSettings method of the Msvm_VirtualSystemMigrationService class.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

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

MaximumActiveStorageMigration

Data type: uint32

Access type: Read-only

Specifies the maximum number of active storage migrations allowed. This is a read-only property, but it can be changed by using the ModifyServiceSettings method of the Msvm_VirtualSystemMigrationService class.

MaximumActiveVirtualSystemMigration

Data type: uint32

Access type: Read-only

Specifies the maximum number of active virtual system migrations allowed. This is a read-only property, but it can be changed by using the ModifyServiceSettings method of the Msvm_VirtualSystemMigrationService class.

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

See also

CIM_SettingData

ModifyServiceSettings

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)

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

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