Method

TestConnection

ModulePatch
LibraryCore
Action


Check that the source for patches is accessible.


Parameters

When testing a WSUSL connection, this method includes a built-in random stagger interval so that multiple Tachyon Agents do not overwhelm the local WSUS server simultaneously.


Only the existence of the CAB-file is checked; the contents are NOT validated.


Return values

ConnectionOk (boolean): Whether the Source can be accessed or not.

Source (string): Where the updates come from. One of:

This is useful if the source is not specified as an input parameter and has to be deduced.


Example


@ConfigMgrOk = Patch.TestConnection(Source: "SCCM")


Platforms
  • Windows
Notes