Export method of the Win32_TSVm class

Retrieves the virtual machine session monitoring information.

Syntax

uint32 Export(
  [in]  string ExportFolderPath,
  [out] string ExportJobObjectPath
);

Parameters

ExportFolderPath [in]

Path to where the virtual machine will be exported.

ExportJobObjectPath [out]

On a success returns the HyperV ConcreteJob object path.

Return value

Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSVmHost.mof
DLL
TSVmHostWmi.dll

See also

Win32_TSVm