Compartir a través de


ModifyGuestServiceSettings method of the Msvm_VirtualSystemManagementService class

Modifies guest service settings for a virtual system.

Syntax

uint32 ModifyGuestServiceSettings(
  [in]  string              GuestServiceSettings[],
  [out] CIM_SettingData REF ResultingGuestServiceSettings[],
  [out] CIM_ConcreteJob REF Job
);

Parameters

GuestServiceSettings [in]

A array that contains embedded instances of CIM_SettingData that describe the modifications to make to the guest service settings. All instances must have a valid InstanceID property value.

ResultingGuestServiceSettings [out]

An array that contains references to CIM_SettingData instances that represent the modified guest service settings.

Job [out]

A reference to an optional job for the operation if the operation is run asynchronously.

Return value

The possible returns values are:

Completed with No Error (0)

Not Supported (1)

Failed (2)

Timeout (3)

Invalid Parameter (4)

Invalid State (5)

Incompatible Parameters (6)

DMTF Reserved (7 4095)

Method Parameters Checked - Job Started (4096)

Method Reserved (4097 32767)

Vendor Specific (32768 65535)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

Msvm_VirtualSystemManagementService