Share via


IVMVirtualMachineEvents::OnConfigurationChanged method

The OnConfigurationChanged method is called when a value in the configuration for this virtual machine has changed.

Syntax

HRESULTS OnConfigurationChanged(
  [in] BSTR    configKey,
  [in] VARIANT configData
);

Parameters

configKey [in]

The value inside the configuration that has changed.

configData [in]

The new value for the configuration.

Return value

A 32-bit value that describes an error or warning.

Remarks

This method is called when the configuration changes for this virtual machine. The client program must implement this interface method to receive notification of the vmVirtualMachineEvent_ConfigurationChanged event originating from IVMVirtualMachine.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMVirtualMachineEvents