Compartir a través de


AddGuestServiceSettings method of the Msvm_VirtualSystemManagementService class

Adds guest service settings to a virtual system configuration.

When applied to parts of a "current" virtual system configuration, as a side effect guest services of the active virtual system may be modified.

Syntax

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

Parameters

AffectedConfiguration [in]

A CIM_VirtualSystemSettingData reference that describes the affected configuration.

GuestServiceSettings [in]

A collection of guest service settings.

ResultingGuestServiceSettings [out]

When successful, contains a collection of CIM_SettingData references that describe the resulting guest service settings.

Job [out]

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

Return value

Completed with No Error (0)

Not Supported (1)

Failed (2)

Timeout (3)

Invalid Parameter (4)

DMTF Reserved (5 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