title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RunningTask.EnginePID property |
For scripting, gets the process ID for the engine (process) which is running the task. |
cb8a0f2f-ebe3-4f52-8fbd-b0cebb539728 |
|
|
|
|
|
reference |
05/31/2018 |
For scripting, gets the process ID for the engine (process) which is running the task.
This property is read-only.
RunningTask.EnginePID As Integer
The process ID for the engine which is running the task.
The process ID returned by this property cannot be appended directly to a string. The returned value needs to be converted to an integer value first by calling the CInt function on the returned value.
ProcessId = cint(RunningTask.EnginePID)
wscript.echo "Process Id of Engine is " & "ProcessId
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|