Terminate Method
      
 

Description

Terminates the process.


Return Type

None  


Syntax

object.Terminate



The Terminate Method syntax has these parts:

Part Description
object An expression evaluating to an object of type UpdProcess.

Remarks

Terminate method will silently kill the process, without giving him a chance to gratefully close and save his data. This may be needed if same DLL (or other type of file) that you wish to update is locked by other process, and it doesn't want to close itself on your Close method call.

Terminate method call will not return any errors no matter if termination was successful or not. If your application does not have administrative privileges, it is very likely that you will not be able to kill the process. In that case you can try setting GlobalTerminate property to True so process is killed later, with admin privileges.

Please note that your own application will be listed if it locks certain DLL you plan to update. However, calling Terminate on it will result in error 30012 (cannot terminate yourself).