GetPatchProperties method of the Win32_RDMSVirtualDesktopCollection class

Retrieves the properties of a software update provisioning job for the virtual machines in a virtual desktop collection.

Syntax

uint32 GetPatchProperties(
  [out] DATETIME StartTime,
  [out] DATETIME ForceLogOffTime,
  [out] string   JobGuid,
  [out] uint32   State
);

Parameters

StartTime [out]

The date and time to install the updates.

ForceLogOffTime [out]

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

JobGuid [out]

A GUID that uniquely identifies the provisioning job.

State [out]

The state of the provisioning job.

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
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSVirtualDesktopCollection