| Patch | 
| Core | 
| Deploy (i.e. download and by default install) either all available patches or specific patches to this device. | 
| NoteCase is not significant. | 
| PatchSpec(string; optional, defaults to an empty string implying all available patches will be deployed): The patches to be actioned.
 NoteFor Windows, this is a comma-separated list of Knowledge Base article numbers (without the "KB" prefix) or the GUIDs of specific patches, or even a mixture. (See example below.) Case is not significant for the hex digits in GUIDs. | 
| DownloadOnly(boolean; defaultfalse): Whether the patch should be downloaded but not be installed if it is not already installed.
 NoteDownloadOnly does not apply if the source is SCCM. The SCCM API does not support downloading only, whereas WSUS does. | 
| CabFilePath(string; default empty): The full path of the location of the.cabfile if Source is 'CAB'.
 NoteThis must be specified if Sourceis 'CAB' and should not be specified for any otherSourcevalue. If the path is specified it must be to a local CAB-file. Shared, i.e. remote, CAB-files are not supported by Windows Update Agent. | 
| CheckOnline(bool; defaultfalse): Grant permission (or not) as to whether to go over the network or remain purely local to the host. If this isfalse, patches can only be installed if they have already been downloaded to the local cache. With SCCM this may trigger installs that have already been identified and downloaded but not yet installed (ie they are ready and waiting for the deadline). A value oftrueis incompatible withCabFilePath.
 NoteSetting this to truemay cause a lot of network traffic if many devices run this method simultaneously. For a SourceofWSUSRthe "network" in question is the internet, and forWSUSLandSCCMit is the LAN. | 
| Asynchronous(bool: defaultfalse): Iffalse, then the patch will happen inline with the instruction execution, meaning the instruction could take many minutes to complete and the Agent will be unable to respond to other patch instructions effectively. Iftruethen no result set is returned and a follow up call some time later to List would be needed to determine whether the patch is now installed.
 NoteSynchronous (Asynchronous=false) patching with source SCCM is achieved by eventing and polling WMI classes as the CM client is totally independent of Tachyon and makes its own decisions. Tachyon requests the SCCM client to do something and monitors the progress to see whether the request has started and finished. There is a good chance that the installation will complete within the ten minutes allowed for 'synchronous' completion of this method, however Tachyon may decide that CM Client has taken too long and will report back that the timeout has occurred. The CM Client driven installation will however continue in the background though and the final status can be determined viaPatch.Listusing the appropriate PatchSpec. | 
| TimeoutSecs(int; optional, default1800): If the Source does not complete within the specified number of seconds, return anyway. A value of 0 means an eternal timeout, i.e. none. A negative value is illegal. Available from v4.0.
 NoteThisparameterisincompatible with Asynchronous=true, which will cause the instruction to return success before theoperation has even started, letalonecompleted. If the timeout occurs the install will continue in the background as though nothing happened but Successis returned from the method and for any rows in the result set theInstallErrorandInstallResultcolumns will indicate that the timeout occurred. It will be necessary to call List to determine the new state of the device. | 
| For each of the supplied patches or if not supplied for all available patches the following is returned: NoteIf no update information is available then the method willreturnsuccess with no rows. | 
| PatchSpec(string): The patch identifier. For Windows, a Knowledge Base article number.
 | 
| DownloadOnly(boolean): Whether the patch was to be just staged (false) or also installed (true), i.e. the supplied or implicitDownloadOnlyparameter.
 | 
| NeededDownload(boolean): Whether the patch actually needed to be downloaded.
 | 
| DownloadResult(integer): The COM success (0) or error (not 0) codes related to downloading, otherwise empty if no download is attempted.
 | 
| DownloadError(string): The human readable form of theDownloadedResultcolumn if a download error occurred.
 | 
| NeededInstallation(boolean): Whether the patch actually needed to be installed (true) or it was already installed (false).
 | 
| InstallResult(integer): The COM success (0) or error (not 0) codes related to installation, otherwise empty (null) if installation is not attempted.
 | 
| InstallError(string): The human readable form ofInstallResultif an installation error occurred.
 | 
| RebootRequired(bool): Iftruethen a reboot is required after the patch was installed, iffalsethen a reboot is not required. IfDownloadOnlywas requested, indicates whether a reboot will (or may) be required following installation.
 | 
| Patch.Deploy(Source:"SCCM", PatchSpec:"2267602,3182545", DownloadOnly:true); | 
|  | 
| Updates will be installed only if they do not require user input. However, any license agreements are accepted automatically. Windows may refuse to allow installations if a reboot is pending. If no update information is available then the method will return success with no rows. The method does not fail with an error if the PatchSpecindicates a patch (or patches) that is not available, whether the source does not have it or the patch simply does not exist. In this case a sparse response record will be returned with emptyDownloadResultandInstallResultvalues, and the Agent log will contain a "No updates to install" warning. |