หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Scripting object that provides the methods to get information from and control a running task.
Members
The RunningTask object has these types of members:
Methods
The RunningTask object has these methods.
| Method | Description |
|---|---|
| Refresh | Refreshes all of the local instance variables of the task. |
| Stop | Stops this instance of the task. |
Properties
The RunningTask object has these properties.
| Property | Access type | Description |
|---|---|---|
| CurrentAction |
Read-only |
Gets the name of the current action that the running task is performing. |
| EnginePID |
Read-only |
Gets the process ID for the engine (process) which is running the task. |
| InstanceGuid |
Read-only |
Gets the GUID identifier for this instance of the task. |
| Name |
Read-only |
Gets the name of the task. |
| Path |
Read-only |
Gets the path to where the task is stored. |
| State |
Read-only |
Gets the state of the running task. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| Type library |
|
| DLL |
|