SetJobState method of the BitsClientJob class
The SetJobState method tries to change the state of a BITS transfer job.
Syntax
uint32 SetJobState( [in] Uint16 JobState );
Parameters
- JobState [in]
-
Specifies the action used to change the state of the BITS transfer job. The following actions are possible:
Value Meaning - 0
Cancel the job.
- 1
Complete the job.
- 2
Resume the job.
- 3
Suspend the job.
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Redistributable | Windows Management Framework on Windows Server 2008 with SP2 |
|
Namespace |
\root\microsoft\bits |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012