Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Gets a Process from the process database by process ID.


Code Block
public Process GetProcessById(int id);

Classes: Database


Parameters

value id

ID of the process to retrieve

Returns

Process object.


Example

The following example demonstrates retrieving a specific process from the database by process Id.

Code Block
var process = Database.GetProcessById(1);

Remarks

Processes returned from this method are held in memory only. Any changes to the Process returned will not be saved until they are saved using a Database method.