次の方法で共有


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
Minimum supported server
Windows Server 2008 R2
Redistributable
Windows Management Framework on Windows Server 2008 with SP2
Namespace
Root\microsoft\bits
MOF
BitsProvider.mof

See also

BitsClientJob