Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
| Requirement | Value |
|---|---|
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\CIMv2\rdms |
| MOF |
|
| DLL |
|