SchedulePatch method of the Win32_RDMSVirtualDesktopCollection class

Schedules a software update provisioning job that installs software updates on the virtual machines in a virtual desktop collection.

Syntax

uint32 SchedulePatch(
  [in] DATETIME StartTime,
  [in] DATETIME ForceLogOffTime,
  [in] string   JobInputXml
);

Parameters

StartTime [in]

Note

The system will not log off users of the virtual machines until the time specified in the ForceLogOffTime parameter.

The date and time to install the updates.

ForceLogOffTime [in]

The date and time on which the system will log off users of the virtual machines.

JobInputXml [in]

An XML formatted string that contains the software update job information.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSVirtualDesktopCollection